This commit is contained in:
Brian Buller 2017-01-02 12:10:47 -06:00
parent 4eb069cf26
commit 5324d3c9c5
4 changed files with 21 additions and 0 deletions

3
.gitmodules vendored
View File

@ -34,3 +34,6 @@
[submodule ".vim/bundle/go-explorer"]
path = .vim/bundle/go-explorer
url = https://github.com/garyburd/go-explorer.git
[submodule ".vim/bundle/--force"]
path = .vim/bundle/--force
url = https://github.com/tbabej/taskwiki

1
.vim/bundle/taskwiki Submodule

@ -0,0 +1 @@
Subproject commit 5572b4f35958874e21498623998676c697810696

@ -0,0 +1 @@
Subproject commit 50f39db8500fdc65be7118351a6ad32b3deea0a8

View File

@ -191,6 +191,22 @@ execute pathogen#infect()
let g:vimwiki_list = [{'path': '~/Dropbox/Documents/vimwiki/vimwiki', 'path_html': '~/Dropbox/Documents/vimwiki/vimwiki_html/', 'auto_export':'1'}]
nnoremap <leader>wb :Vimwiki2HTMLBrowse<CR><CR>
let g:vimwiki_auto_checkbox = 1
function! VimwikiLinkHandler(link)
let link = a:link
if link =~# '^vfile:'
let link = link[1:]
else
return 0
endif
let link_infos = vimwiki#base#resolve_link(link)
if link_infos.filename == ''
echomsg 'Vimwiki Error: Unable to resolve link!'
return 0
else
exe 'e ' . fnameescape(link_infos.filename)
return 1
endif
endfunction
" }}
" Gist {{