From 02e5f4a94a53b3d554588a54063c8afd5342c6a9 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Sat, 7 Dec 2019 10:42:29 -0800 Subject: [PATCH] [vim] vimwiki --- .gitmodules | 3 +++ .vim/pack/alpha/start/vimwiki | 1 + .vimrc | 4 ++++ 3 files changed, 8 insertions(+) create mode 160000 .vim/pack/alpha/start/vimwiki diff --git a/.gitmodules b/.gitmodules index 165109a..11ab4de 100644 --- a/.gitmodules +++ b/.gitmodules @@ -112,3 +112,6 @@ [submodule ".vim/pack/alpha/start/editorconfig-vim"] path = .vim/pack/alpha/start/editorconfig-vim url = https://github.com/editorconfig/editorconfig-vim.git +[submodule ".vim/pack/alpha/start/vimwiki"] + path = .vim/pack/alpha/start/vimwiki + url = git@github.com:vimwiki/vimwiki.git diff --git a/.vim/pack/alpha/start/vimwiki b/.vim/pack/alpha/start/vimwiki new file mode 160000 index 0000000..57d23fa --- /dev/null +++ b/.vim/pack/alpha/start/vimwiki @@ -0,0 +1 @@ +Subproject commit 57d23fa763b498561aca7eb4efb05b52efd120c9 diff --git a/.vimrc b/.vimrc index dc43b5c..b2acc04 100644 --- a/.vimrc +++ b/.vimrc @@ -194,4 +194,8 @@ nnoremap u :GundoToggle map y (operator-flashy) nmap Y (operator-flashy)$ +" vimwiki +let g:vimwiki_global_ext = 0 +let g:vimwiki_list = [{'path': '~/Documents/notes/', 'syntax': 'markdown', 'ext': '.md'}] + " }}}