~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.vim/after/ftplugin/man.vim -rw-r--r-- 320 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
" man filetype plugin
" Author: Greg Anders <greg@gpanders.com>

nnoremap <buffer> <silent> <C-J> /\C\%>1l\f\+([1-9][a-z]\=)\ze\_.\+\%$<CR>:<C-U>nohlsearch<CR>
nnoremap <buffer> <silent> <C-K> ?\C\%>1l\f\+([1-9][a-z]\=)\ze\_.\+\%$<CR>:<C-U>nohlsearch<CR>

let b:undo_ftplugin .= '|nun <buffer> <C-J>|nun <buffer> <C-K>'