Clean up a few things, move gist-vim to submodule

This commit is contained in:
2017-04-29 12:16:57 -05:00
parent 2cf1febfd9
commit 0ea7cb8c5d
7 changed files with 16 additions and 1324 deletions

View File

@@ -194,7 +194,8 @@ execute pathogen#infect()
" Vimwiki {{
let g:vimwiki_list = [
\{'path': '~/Dropbox/Documents/vimwiki/vimwiki', 'path_html': '~/Dropbox/Documents/vimwiki/vimwiki_html/', 'auto_export':'1'},
\{'path': '~/Dropbox/Documents/vimwiki/work', 'path_html': '~/Dropbox/Documents/vimwiki/work_html/', 'auto_export':'1'}
\{'path': '~/Dropbox/Documents/vimwiki/work', 'path_html': '~/Dropbox/Documents/vimwiki/work_html/', 'auto_export':'1'},
\{'path': '~/Dropbox/Documents/vimwiki/redemption', 'path_html': '~/Dropbox/Documents/vimwiki/redemption_html/', 'auto_export':'1'}
\]
nnoremap <leader>wb :Vimwiki2HTMLBrowse<CR><CR>
let g:vimwiki_auto_checkbox = 1
@@ -214,6 +215,8 @@ execute pathogen#infect()
return 1
endif
endfunction
nmap <C-k> <Plug>VimwikiDiaryPrevDay
nmap <C-j> <Plug>VimwikiDiaryNextDay
" }}
" Gist {{
@@ -298,3 +301,10 @@ execute pathogen#infect()
endif
" }}
" Date/Time Shortcuts {{
nnoremap <F5> "=strftime("%Y-%m-%d")<CR>P"
inoremap <F5> <C-R>=strftime("%Y-%m-%d")<CR>
nnoremap <F6> "=strftime("%H:%M:%S")<CR>P"
inoremap <F6> <C-R>strftime("%H:%M:%S")<CR>
" }}