diff options
Diffstat (limited to 'ftplugin')
| -rw-r--r-- | ftplugin/text.vim | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ftplugin/text.vim b/ftplugin/text.vim index 2095ef5..0336a13 100644 --- a/ftplugin/text.vim +++ b/ftplugin/text.vim | |||
| @@ -5,4 +5,17 @@ autocmd InsertLeave * syntax match Convention /\v<(\w+)\_s+\1>/ containedin=ALL | |||
| 5 | set autoindent nosmartindent nocindent | 5 | set autoindent nosmartindent nocindent |
| 6 | 6 | ||
| 7 | set formatoptions+=n " When formatting text, recognize numbered lists. | 7 | set formatoptions+=n " When formatting text, recognize numbered lists. |
| 8 | set formatoptions+=a " Automatic formatting of paragraphs. | 8 | set formatoptions+=1 " do not break after a one letter word |
| 9 | set formatoptions+=p " Don't break lines at single spaces that follow periods. | ||
| 10 | |||
| 11 | set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) | ||
| 12 | |||
| 13 | |||
| 14 | set noexpandtab | ||
| 15 | set spell | ||
| 16 | set complete+=kspell | ||
| 17 | |||
| 18 | inoremap <C-Space> <C-n> | ||
| 19 | |||
| 20 | " nnoremap <c-s> :normal <c-n> | ||
| 21 | " autocmd CursorHoldI * normal <c-x>s | ||
