From 9081cad514d27ed67f0e348e9db56eddb296cc1d Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 20 Sep 2018 18:44:48 +0300 Subject: man.vim: Ignore $MANWIDTH, use soft wrap #9023 fix #9017 close #9023 --- runtime/ftplugin/man.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/ftplugin') diff --git a/runtime/ftplugin/man.vim b/runtime/ftplugin/man.vim index 68ebb33e45..26b51186a1 100644 --- a/runtime/ftplugin/man.vim +++ b/runtime/ftplugin/man.vim @@ -22,6 +22,8 @@ setlocal noexpandtab setlocal tabstop=8 setlocal softtabstop=8 setlocal shiftwidth=8 +setlocal wrap +setlocal breakindent setlocal nonumber setlocal norelativenumber @@ -31,6 +33,8 @@ setlocal nolist setlocal nofoldenable if !exists('g:no_plugin_maps') && !exists('g:no_man_maps') + nnoremap j gj + nnoremap k gk nnoremap gO :call man#show_toc() nnoremap :Man nnoremap K :Man -- cgit