aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/ftplugin/man.vim26
1 files changed, 7 insertions, 19 deletions
diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim
index 26b51186a1..6c7f095f62 100644
--- a/runtime/ftplugin/man.vim
+++ b/runtime/ftplugin/man.vim
@@ -12,25 +12,13 @@ if s:pager
call man#init_pager()
endif
-setlocal buftype=nofile
-setlocal noswapfile
-setlocal bufhidden=hide
-setlocal nomodified
-setlocal readonly
-setlocal nomodifiable
-setlocal noexpandtab
-setlocal tabstop=8
-setlocal softtabstop=8
-setlocal shiftwidth=8
-setlocal wrap
-setlocal breakindent
-
-setlocal nonumber
-setlocal norelativenumber
-setlocal foldcolumn=0
-setlocal colorcolumn=0
-setlocal nolist
-setlocal nofoldenable
+setlocal noswapfile buftype=nofile bufhidden=hide
+setlocal nomodified readonly nomodifiable
+setlocal noexpandtab tabstop=8 softtabstop=8 shiftwidth=8
+setlocal wrap breakindent linebreak
+
+setlocal nonumber norelativenumber
+setlocal foldcolumn=0 colorcolumn=0 nolist nofoldenable
if !exists('g:no_plugin_maps') && !exists('g:no_man_maps')
nnoremap <silent> <buffer> j gj