aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-02 11:11:30 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-02 11:11:30 +1200
commit6b6477146415ae02f3aca34e97f532d7dd808212 (patch)
tree57e2e23042e8dfd1abf4d13565b8dbf38e13000a
parentAdd 'confirm' (diff)
downloaddotfiles-6b6477146415ae02f3aca34e97f532d7dd808212.tar.gz
dotfiles-6b6477146415ae02f3aca34e97f532d7dd808212.zip
Use \! instead of \@ for line-execute
-rw-r--r--vim/vimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 77957e34..d10309da 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -316,8 +316,8 @@ nnoremap <Bslash><Delete> :bdelete<CR>
" \INS edits a new buffer
nnoremap <Bslash><Insert> :<C-U>enew<CR>
-" \@ executes the current line with 'shell'
-nnoremap <Bslash>@ :!<C-R>=getline('.')<CR><CR>
+" \! executes the current line with 'shell'
+nnoremap <Bslash>! :!<C-R>=getline('.')<CR><CR>
" If we're running NeoVim, source some extra configuration
if has('nvim')