mirror of
https://github.com/danbee/dotfiles-local
synced 2025-03-04 08:49:07 +00:00
Move vim-pencil config into its own file
This commit is contained in:
parent
1dcb2fe8eb
commit
676461a584
5
vim/vimrc.d/vim-pencil.vim
Normal file
5
vim/vimrc.d/vim-pencil.vim
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
augroup pencil
|
||||||
|
autocmd!
|
||||||
|
autocmd FileType markdown,mkd call pencil#init()
|
||||||
|
autocmd FileType text call pencil#init()
|
||||||
|
augroup END
|
||||||
@ -18,12 +18,5 @@ endif
|
|||||||
" Tell NERDCommenter to put spaces in
|
" Tell NERDCommenter to put spaces in
|
||||||
let NERDSpaceDelims=1
|
let NERDSpaceDelims=1
|
||||||
|
|
||||||
" Setup vim-pencil
|
|
||||||
augroup pencil
|
|
||||||
autocmd!
|
|
||||||
autocmd FileType markdown,mkd call pencil#init()
|
|
||||||
autocmd FileType text call pencil#init()
|
|
||||||
augroup END
|
|
||||||
|
|
||||||
" Extend plugins
|
" Extend plugins
|
||||||
source $HOME/.vim/vimrc.d.vim
|
source $HOME/.vim/vimrc.d.vim
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user