diff --git a/README.md b/README.md index 907b2cf..205c85a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This is wuniu's vim settings. This file describes wuniu's editing experience. ## Generate Doc After installing / adding a new pack with `doc/` inside. Generate doc tags -using `packloadall | silent! :helptag ALL`, which will regenerate all tags of docs. +using `packloadall | silent! helptags ALL`, which will regenerate all tags of docs. ## Reloading `vimrc` File diff --git a/vimrc b/vimrc index 1d2cd0e..c265da8 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,6 @@ " This is vimrc file, using as the profile of vim. " After modify vimrc, use `:so $MYVIMRC` to reload new profile. +runtime! vimrc.d/*.vim " env variables if has('win32') || has('win64') diff --git a/plugin/01-gui.vim b/vimrc.d/01-gui.vim similarity index 100% rename from plugin/01-gui.vim rename to vimrc.d/01-gui.vim diff --git a/after/plugin/30-Easymotion.vim b/vimrc.d/30-Easymotion.vim similarity index 98% rename from after/plugin/30-Easymotion.vim rename to vimrc.d/30-Easymotion.vim index 307e52d..294b631 100644 --- a/after/plugin/30-Easymotion.vim +++ b/vimrc.d/30-Easymotion.vim @@ -1,6 +1,6 @@ " This is customized file for easymotion package. -packadd vim-easymotion +packadd! vim-easymotion let g:EasyNotion_do_mapping = 0 " Disable default mapping map (easymotion-prefix) diff --git a/after/plugin/31-NerdTree.vim b/vimrc.d/31-NerdTree.vim similarity index 80% rename from after/plugin/31-NerdTree.vim rename to vimrc.d/31-NerdTree.vim index e1c0a29..51491b1 100644 --- a/after/plugin/31-NerdTree.vim +++ b/vimrc.d/31-NerdTree.vim @@ -1,3 +1,3 @@ " This is configurations for NerdTree -packadd nerdtree +packadd! nerdtree nnoremap n :NERDTreeFocus diff --git a/plugin/30-ale.vim b/vimrc.d/32-ale.vim similarity index 95% rename from plugin/30-ale.vim rename to vimrc.d/32-ale.vim index 0be4c96..b9a5e3d 100644 --- a/plugin/30-ale.vim +++ b/vimrc.d/32-ale.vim @@ -3,5 +3,6 @@ " " You should not turn this setting on if you wish to use ALE as a completion " source for other completion plugins, like Deoplete. +packadd! ale let g:ale_completion_enabled = 1 set omnifunc=ale#completion#OmniFunc