aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
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
..