diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-21 21:59:54 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-09-21 21:59:54 +0200 |
commit | 4fa3492a6fcba4e58639ec1039b18e883576bdd3 (patch) | |
tree | 5d47ecc2a11f47fce5ce9563ec126e531a10c74b /runtime/ftplugin/man.vim | |
parent | ac4d5d993598199b5509bf15cc33784b01033291 (diff) | |
parent | dc256e376dda51ac1cc7a5fe44a512c8677597d5 (diff) | |
download | rneovim-4fa3492a6fcba4e58639ec1039b18e883576bdd3.tar.gz rneovim-4fa3492a6fcba4e58639ec1039b18e883576bdd3.tar.bz2 rneovim-4fa3492a6fcba4e58639ec1039b18e883576bdd3.zip |
Merge #9023
Diffstat (limited to 'runtime/ftplugin/man.vim')
-rw-r--r-- | runtime/ftplugin/man.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 <silent> <buffer> j gj + nnoremap <silent> <buffer> k gk nnoremap <silent> <buffer> gO :call man#show_toc()<CR> nnoremap <silent> <buffer> <C-]> :Man<CR> nnoremap <silent> <buffer> K :Man<CR> |