aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-04 02:04:48 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-04 02:04:48 +1200
commit3d70b8dbeb2c7a5afa58938237c1ad3dae2ca070 (patch)
tree001632d1376df0e1cf05fc6b3e81c63d600760a6 /vim
parentAdd Perl boilerplate generation mapping (diff)
downloaddotfiles-3d70b8dbeb2c7a5afa58938237c1ad3dae2ca070.tar.gz
dotfiles-3d70b8dbeb2c7a5afa58938237c1ad3dae2ca070.zip
Make Perl boilerplate mapping silent
Diffstat (limited to 'vim')
-rw-r--r--vim/after/ftplugin/perl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/after/ftplugin/perl.vim b/vim/after/ftplugin/perl.vim
index a85685e3..777c3ad4 100644
--- a/vim/after/ftplugin/perl.vim
+++ b/vim/after/ftplugin/perl.vim
@@ -78,7 +78,7 @@ if exists('g:no_plugin_maps') || exists('g:no_perl_maps')
endif
" Add boilerplate intelligently
-nnoremap <buffer> <LocalLeader>b
+nnoremap <buffer> <silent> <LocalLeader>b
\ :<C-U>call <SID>Boilerplate()<CR>
let b:undo_ftplugin .= '|nunmap <buffer> <LocalLeader>b'