Set the textwidth to 80 for the "notes" filetype

This commit is contained in:
Kevin 2014-04-08 04:59:15 -04:00
parent a0463ef232
commit 19613d1aa8

View file

@ -77,6 +77,7 @@
autocmd FileType gitcommit,notes,mail,notmuch,text setlocal spell autocmd FileType gitcommit,notes,mail,notmuch,text setlocal spell
autocmd FileType notes,mail,notmuch,mkd,text setlocal nonumber autocmd FileType notes,mail,notmuch,mkd,text setlocal nonumber
autocmd FileType mail,notmuch,text setlocal wrap autocmd FileType mail,notmuch,text setlocal wrap
autocmd FileType notes setlocal textwidth=80
autocmd FileType help* wincmd L "help windows always open vertically autocmd FileType help* wincmd L "help windows always open vertically
autocmd FileType help* vertical resize 80 "set the window size to 80 cols autocmd FileType help* vertical resize 80 "set the window size to 80 cols
autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line autocmd FileType help* setlocal nocursorline "remove the horizontal cursor line