From b3a4111df7b7f71e637c82e6706525b52d8fd41f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 2 Aug 2018 11:10:02 +1200 Subject: Add \@ mapping to execute lines with 'shell' --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index cdc8c14d..3c5a4d4a 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -313,6 +313,9 @@ nnoremap :bdelete " \INS edits a new buffer nnoremap :enew +" \@ executes the current line with 'shell' +nnoremap @ :!=getline('.') + " If we're running NeoVim, source some extra configuration if has('nvim') runtime nvim.vim -- cgit v1.2.3