diff options
author | Max Christian Pohle | 2019-06-10 23:40:23 +0200 |
---|---|---|
committer | Max Christian Pohle | 2019-06-10 23:40:23 +0200 |
commit | 450d847e42582ef2734015869c59c7d1fdd6b208 (patch) | |
tree | d8a051de440c9d581b20657bf446a7ddc474c4f6 /ftplugin | |
parent | 7a09b882a53e44125488f8aab750b8bffed7b8ea (diff) | |
download | vim-450d847e42582ef2734015869c59c7d1fdd6b208.tar.bz2 vim-450d847e42582ef2734015869c59c7d1fdd6b208.zip |
Improved color schemes, indentation, autocompletion for text
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 | ||