From 5324d3c9c522bf2f6e7c0bb74b625c2a006a6dc9 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Mon, 2 Jan 2017 12:10:47 -0600 Subject: [PATCH] Updating --- .gitmodules | 3 +++ .vim/bundle/taskwiki | 1 + .vim/bundle/vim-taskwarrior | 1 + home/.vimrc | 16 ++++++++++++++++ 4 files changed, 21 insertions(+) create mode 160000 .vim/bundle/taskwiki create mode 160000 .vim/bundle/vim-taskwarrior diff --git a/.gitmodules b/.gitmodules index 0c67141..e8d7f97 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/.vim/bundle/taskwiki b/.vim/bundle/taskwiki new file mode 160000 index 0000000..5572b4f --- /dev/null +++ b/.vim/bundle/taskwiki @@ -0,0 +1 @@ +Subproject commit 5572b4f35958874e21498623998676c697810696 diff --git a/.vim/bundle/vim-taskwarrior b/.vim/bundle/vim-taskwarrior new file mode 160000 index 0000000..50f39db --- /dev/null +++ b/.vim/bundle/vim-taskwarrior @@ -0,0 +1 @@ +Subproject commit 50f39db8500fdc65be7118351a6ad32b3deea0a8 diff --git a/home/.vimrc b/home/.vimrc index 1ba0b4c..91f4508 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -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 wb :Vimwiki2HTMLBrowse 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 {{