aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/html.vim2
-rw-r--r--vim/ftplugin/perl.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim
index 5505dbaa..d705bd71 100644
--- a/vim/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
@@ -3,7 +3,7 @@ if exists('*shellescape')
function s:HTMLTidy()
execute '!tidy -eq -utf8 ' . shellescape(expand('%'))
endfunction
- nnoremap <LocalLeader>v :exe :<C-U>call <SID>HTMLTidy()<CR>
+ nnoremap <LocalLeader>v :execute :<C-U>call <SID>HTMLTidy()<CR>
endif
" Make a bare URL into a link to itself
diff --git a/vim/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index c4923051..310ffe7e 100644
--- a/vim/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
@@ -2,9 +2,9 @@
if exists('*shellescape')
" Run perl -c on file for the current buffer
- nnoremap <LocalLeader>pc :exe "!perl -c " . shellescape(expand("%"))<CR>
+ nnoremap <LocalLeader>pc :execute "!perl -c " . shellescape(expand("%"))<CR>
" Run perlcritic on the file for the current buffer
- nnoremap <LocalLeader>pl :exe "!perlcritic " . shellescape(expand("%"))<CR>
+ nnoremap <LocalLeader>pl :execute "!perlcritic " . shellescape(expand("%"))<CR>
" Run the current buffer through perltidy
nnoremap <LocalLeader>pt :%!perltidy<CR>