~ubuntu-branches/debian/sid/neovim/sid

« back to all changes in this revision

Viewing changes to runtime/ftplugin/man.vim

  • Committer: Package Import Robot
  • Author(s): James McCoy
  • Date: 2016-04-18 21:42:19 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: package-import@ubuntu.com-20160418214219-6lf1w0zadujghas7
Tags: upstream-0.1.3
ImportĀ upstreamĀ versionĀ 0.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
setlocal nomodifiable readonly bufhidden=hide nobuflisted tabstop=8
25
25
 
26
26
if !exists("g:no_plugin_maps") && !exists("g:no_man_maps")
27
 
  nnoremap <silent> <buffer> <C-]>    :call man#get_page(v:count)<CR>
 
27
  nnoremap <silent> <buffer> <C-]>    :call man#get_page(v:count, expand('<cword>'))<CR>
28
28
  nnoremap <silent> <buffer> <C-T>    :call man#pop_page()<CR>
29
29
  nnoremap <silent> <nowait><buffer>  q <C-W>c
30
30
  if &keywordprg !=# ':Man'
31
 
    nnoremap <silent> <buffer> K      :call man#get_page(v:count)<CR>
 
31
    nnoremap <silent> <buffer> K      :call man#get_page(v:count, expand('<cword>'))<CR>
32
32
  endif
33
33
endif
34
34