From a3c1649a195cf87db6581b5a8c703fa867462210 Mon Sep 17 00:00:00 2001 From: gxlin Date: Mon, 14 Jun 2021 15:34:09 +0800 Subject: more config --- .vim/plugins/fugitive.vim | 4 ++++ .vim/plugins/vimwiki.vim | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 .vim/plugins/fugitive.vim (limited to '.vim/plugins') diff --git a/.vim/plugins/fugitive.vim b/.vim/plugins/fugitive.vim new file mode 100644 index 0000000..8029fc3 --- /dev/null +++ b/.vim/plugins/fugitive.vim @@ -0,0 +1,4 @@ +Plug 'tpope/vim-fugitive' + +nnoremap gl :Gclog! -- % +nnoremap gd :Gdiffsplit diff --git a/.vim/plugins/vimwiki.vim b/.vim/plugins/vimwiki.vim index f2930e4..cba8593 100644 --- a/.vim/plugins/vimwiki.vim +++ b/.vim/plugins/vimwiki.vim @@ -4,3 +4,6 @@ let g:vimwiki_list = [{'path': '~/Documents/notes', \ 'syntax': 'markdown', 'ext': '.md'}] au FileType vimwiki setlocal textwidth=72 + +let g:vimwiki_CJK_length = 1 +let g:vimwiki_url_maxsave = 0 -- cgit v1.2.3