aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorMax Christian Pohle2019-06-10 23:40:23 +0200
committerMax Christian Pohle2019-06-10 23:40:23 +0200
commit450d847e42582ef2734015869c59c7d1fdd6b208 (patch)
treed8a051de440c9d581b20657bf446a7ddc474c4f6 /ftplugin
parent7a09b882a53e44125488f8aab750b8bffed7b8ea (diff)
downloadvim-450d847e42582ef2734015869c59c7d1fdd6b208.tar.bz2
vim-450d847e42582ef2734015869c59c7d1fdd6b208.zip
Improved color schemes, indentation, autocompletion for text
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/text.vim15
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
5set autoindent nosmartindent nocindent 5set autoindent nosmartindent nocindent
6 6
7set formatoptions+=n " When formatting text, recognize numbered lists. 7set formatoptions+=n " When formatting text, recognize numbered lists.
8set formatoptions+=a " Automatic formatting of paragraphs. 8set formatoptions+=1 " do not break after a one letter word
9set formatoptions+=p " Don't break lines at single spaces that follow periods.
10
11set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end)
12
13
14set noexpandtab
15set spell
16set complete+=kspell
17
18inoremap <C-Space> <C-n>
19
20" nnoremap <c-s> :normal <c-n>
21" autocmd CursorHoldI * normal <c-x>s
..