Add ranger-like Shift+S mapping to vim
Convenience mapping to quickly open a shell from within vim in normal mode, just like in ranger.
This commit is contained in:
parent
8d1b12ab29
commit
f391f8fcf3
1 changed files with 2 additions and 0 deletions
|
@ -507,6 +507,8 @@ command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au Bu
|
|||
onoremap al :<C-U>normal! 0vg$h<CR>
|
||||
onoremap il :<C-U>normal! ^vg_<CR>
|
||||
|
||||
map S :shell<CR>
|
||||
|
||||
nnoremap val 0vg$h
|
||||
nnoremap vil ^vg_
|
||||
|
||||
|
|
Loading…
Reference in a new issue