aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index cdc8c14d..3c5a4d4a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -313,6 +313,9 @@ 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>
+
" If we're running NeoVim, source some extra configuration
if has('nvim')
runtime nvim.vim