diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,5 @@ -set nocompatible " be iMproved, required -filetype off " required +set nocompatible " be iMproved, required +filetype on " required set timeoutlen=1000 set ttimeoutlen=5 @@ -69,3 +69,11 @@ nnoremap <leader>c :Cmus<CR> nnoremap <leader>p :PencilToggle<CR> let g:pencil#map#suspend_af = 'K' +let g:pencil#textwidth = 74 +augroup pencil + autocmd! + autocmd FileType markdown,mkd call pencil#init() + autocmd FileType text call pencil#init() +augroup END + +nnoremap <leader>a :ALEToggle<CR> |