mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-26 00:01:27 -05:00
Better organized "word processing" style formats, and prevented
linewraping in the middle of words.
This commit is contained in:
parent
1cc6d8db23
commit
80ef3923fd
1 changed files with 2 additions and 4 deletions
|
@ -29,10 +29,8 @@ endif
|
|||
|
||||
"FILETPE AND SYNTAX: {{{
|
||||
"misc filtype specific settings
|
||||
autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal spell
|
||||
autocmd FileType notes,mail,notmuch,mkd,text setlocal nonumber
|
||||
autocmd FileType mail,notmuch,text setlocal wrap
|
||||
autocmd FileType notes setlocal tw=80
|
||||
autocmd FileType gitcommit,notes,mail,notmuch,mkd,text setlocal nonumber spell nolist wrap linebreak breakat&vim "some defautls for word processing
|
||||
autocmd Filetype mkd setlocal breakat-=* "prevent breaking *s from words to linewrap in markdown
|
||||
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* setlocal nocursorline "remove the horizontal cursor line
|
||||
|
|
Loading…
Reference in a new issue