if &filetype == 'info' setlocal nolist nnoremap InfoHeadingNext :call info#HeadingNext() nnoremap InfoHeadingPrev :call info#HeadingPrev() nnoremap InfoNext :call info#GoRelative('Next') nnoremap InfoPrev :call info#GoRelative('Prev') nnoremap InfoUp :call info#GoRelative('Up') nnoremap InfoFollow :call info#FollowRef() nnoremap InfoLinkNext :call search('\(^\* .*::\\|\*note\( \\|\n\)\)') nnoremap InfoLinkPrev :call search('\(^\* .*::\\|\*note\( \\|\n\)\)', 'b') if !exists("g:no_plugin_maps") && !exists("g:no_info_maps") if !hasmapto('InfoHeadingNext') nmap ]] InfoHeadingNext endif if !hasmapto('InfoHeadingPrev') nmap [[ InfoHeadingPrev endif if !hasmapto('InfoFollow') nmap InfoFollow endif if !hasmapto('InfoLinkNext') nmap InfoLinkNext endif if !hasmapto('InfoLinkPrev') nmap [Z InfoLinkPrev endif if !hasmapto('InfoNext') nmap n InfoNext endif if !hasmapto('InfoPrev') nmap p InfoPrev endif if !hasmapto('InfoUp') nmap u InfoUp endif endif endif