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:
Talia 2020-07-10 11:23:38 +02:00
parent 8d1b12ab29
commit f391f8fcf3

View file

@ -507,6 +507,8 @@ command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au Bu
onoremap al :<C-U>normal! 0vg$h<CR> onoremap al :<C-U>normal! 0vg$h<CR>
onoremap il :<C-U>normal! ^vg_<CR> onoremap il :<C-U>normal! ^vg_<CR>
map S :shell<CR>
nnoremap val 0vg$h nnoremap val 0vg$h
nnoremap vil ^vg_ nnoremap vil ^vg_