diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:10:02 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-02 11:10:02 +1200 |
commit | b3a4111df7b7f71e637c82e6706525b52d8fd41f (patch) | |
tree | 062edf2810326c5a281b3179faaf9c0587b3ec32 | |
parent | Revert "Remove j/gj remappings" (diff) | |
download | dotfiles-b3a4111df7b7f71e637c82e6706525b52d8fd41f.tar.gz dotfiles-b3a4111df7b7f71e637c82e6706525b52d8fd41f.zip |
Add \@ mapping to execute lines with 'shell'
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |