diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-08-24 10:28:09 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-08-24 11:58:16 -0500 |
commit | 1945fa39df25aeb85c399e11a0cab97a575beeeb (patch) | |
tree | 88f92cf583ef9b2832ee1e69d32481b84aafa406 /vim/ftplugin/perl.vim | |
parent | 582919d2208ab00a8f54e61bb5d1994ab7458088 (diff) | |
download | conf-1945fa39df25aeb85c399e11a0cab97a575beeeb.tar.gz conf-1945fa39df25aeb85c399e11a0cab97a575beeeb.zip |
make the rest of the stuff in ftplugin use buffer-local mappings
Diffstat (limited to 'vim/ftplugin/perl.vim')
-rw-r--r-- | vim/ftplugin/perl.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim index 2fde136..ec994ec 100644 --- a/vim/ftplugin/perl.vim +++ b/vim/ftplugin/perl.vim @@ -14,10 +14,10 @@ function! s:perldoc(word) let $PERLDOC_PAGER = perldoc_pager set ft=man endfunction -nmap <silent>K :call Help(0, [':'], '<SID>perldoc')<CR> -vmap <silent>K :call Help(1, [':'], '<SID>perldoc')<CR> +nmap <buffer> <silent>K :call Help(0, [':'], '<SID>perldoc')<CR> +vmap <buffer> <silent>K :call Help(1, [':'], '<SID>perldoc')<CR> -nmap <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> +nmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> " XXX: <cfile> is wrong here, need to do something like i do for Help -"vmap <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> +"vmap <buffer> <silent>gf :exe v:count . 'find ' . substitute(expand('<cfile>'), '::', '/', 'g') . '.pm'<CR> nnoremap <buffer> t :FufCoverageFile lib/<CR> |