Add vimrc.d contains configs
This commit is contained in:
parent
4fd081a410
commit
a7ec94fd69
@ -12,7 +12,7 @@ This is wuniu's vim settings. This file describes wuniu's editing experience.
|
|||||||
## Generate Doc
|
## Generate Doc
|
||||||
|
|
||||||
After installing / adding a new pack with `doc/` inside. Generate doc tags
|
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
|
## Reloading `vimrc` File
|
||||||
|
|
||||||
|
|||||||
1
vimrc
1
vimrc
@ -1,5 +1,6 @@
|
|||||||
" This is vimrc file, using as the profile of vim.
|
" This is vimrc file, using as the profile of vim.
|
||||||
" After modify vimrc, use `:so $MYVIMRC` to reload new profile.
|
" After modify vimrc, use `:so $MYVIMRC` to reload new profile.
|
||||||
|
runtime! vimrc.d/*.vim
|
||||||
|
|
||||||
" env variables
|
" env variables
|
||||||
if has('win32') || has('win64')
|
if has('win32') || has('win64')
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
" This is customized file for easymotion package.
|
" This is customized file for easymotion package.
|
||||||
|
|
||||||
packadd vim-easymotion
|
packadd! vim-easymotion
|
||||||
let g:EasyNotion_do_mapping = 0 " Disable default mapping
|
let g:EasyNotion_do_mapping = 0 " Disable default mapping
|
||||||
map <Leader> <Plug>(easymotion-prefix)
|
map <Leader> <Plug>(easymotion-prefix)
|
||||||
|
|
||||||
@ -1,3 +1,3 @@
|
|||||||
" This is configurations for NerdTree
|
" This is configurations for NerdTree
|
||||||
packadd nerdtree
|
packadd! nerdtree
|
||||||
nnoremap <leader>n :NERDTreeFocus<CR>
|
nnoremap <leader>n :NERDTreeFocus<CR>
|
||||||
@ -3,5 +3,6 @@
|
|||||||
"
|
"
|
||||||
" You should not turn this setting on if you wish to use ALE as a completion
|
" You should not turn this setting on if you wish to use ALE as a completion
|
||||||
" source for other completion plugins, like Deoplete.
|
" source for other completion plugins, like Deoplete.
|
||||||
|
packadd! ale
|
||||||
let g:ale_completion_enabled = 1
|
let g:ale_completion_enabled = 1
|
||||||
set omnifunc=ale#completion#OmniFunc
|
set omnifunc=ale#completion#OmniFunc
|
||||||
Loading…
x
Reference in New Issue
Block a user