ranger: Remove old bindings and replace trailing space by '%space'
parent
64e5b99f8b
commit
8510cb1162
|
@ -96,13 +96,13 @@ alias setl setlocal
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
# Basic
|
# Basic
|
||||||
map ! console shell -w
|
map ! console shell -w%space
|
||||||
|
|
||||||
# For the nostalgics: Midnight Commander bindings
|
# For the nostalgics: Midnight Commander bindings
|
||||||
map <F4> bulkrename
|
map <F4> bulkrename
|
||||||
map <F5> shell -w file %s
|
map <F5> shell -w file %s
|
||||||
map <F6> console touch
|
map <F6> console touch%space
|
||||||
map <F7> console mkcd
|
map <F7> console mkcd%space
|
||||||
|
|
||||||
|
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
@ -118,9 +118,12 @@ map A rename_append
|
||||||
unmap q
|
unmap q
|
||||||
map Q quit
|
map Q quit
|
||||||
|
|
||||||
|
map zi set preview_images=True
|
||||||
|
map zI set preview_images=False
|
||||||
|
map zF toggle_flat
|
||||||
|
|
||||||
## Move to trash (without Trash-CLI)
|
## Move to trash (without Trash-CLI)
|
||||||
# map DD shell mv -t ~/.local/share/Trash/files %s
|
# map DD shell mv -t ~/.local/share/Trash/files %s
|
||||||
|
|
||||||
## Move to trash (with Trash-CLI)
|
## Move to trash (with Trash-CLI)
|
||||||
map DD shell trash-put -- %s
|
map DD shell trash-put -- %s
|
||||||
|
|
||||||
|
@ -130,19 +133,10 @@ map eXg shell -w aunpack -e %s -X "$HOME/games/"
|
||||||
map eXh extracthere
|
map eXh extracthere
|
||||||
|
|
||||||
## Git
|
## Git
|
||||||
map ega shell -w git add %f %s
|
|
||||||
map egc shell git commit
|
|
||||||
map egC shell git commit -a
|
|
||||||
map egD shell git diff
|
map egD shell git diff
|
||||||
map egd shell git diff --cached %s
|
map egd shell git diff --cached %s
|
||||||
map egl shell git log --stat %s
|
map egl shell git log --stat -- %s
|
||||||
map egp shell -w git pull
|
map egs shell -w git status -uno -- %s
|
||||||
map egP shell -w git push
|
|
||||||
map egr shell -w git checkout -- %f %s
|
|
||||||
map egs shell -w git status -uno %s
|
|
||||||
|
|
||||||
## Pictures
|
|
||||||
map ep shell -w mogrify -resize 50% %s
|
|
||||||
|
|
||||||
## Video
|
## Video
|
||||||
## Note that latin1 for mplayer/mpv is actually cp1252.
|
## Note that latin1 for mplayer/mpv is actually cp1252.
|
||||||
|
@ -163,7 +157,7 @@ map eu shell imagemount -u %s
|
||||||
map K move up=5
|
map K move up=5
|
||||||
map J move down=5
|
map J move down=5
|
||||||
|
|
||||||
## New tab in current folder. Use 'gn' for home folder.
|
## New tab in current folder. Use 'gn' for tab in home folder.
|
||||||
map <c-n> eval fm.tab_new('%d')
|
map <c-n> eval fm.tab_new('%d')
|
||||||
|
|
||||||
## Start shell in current folder. The shell must be configured to read the
|
## Start shell in current folder. The shell must be configured to read the
|
||||||
|
@ -171,10 +165,4 @@ map <c-n> eval fm.tab_new('%d')
|
||||||
## want to lose them just to run a shell.
|
## want to lose them just to run a shell.
|
||||||
map S shell SHELL_CD=%d bash
|
map S shell SHELL_CD=%d bash
|
||||||
|
|
||||||
## Image preview toggle
|
|
||||||
map zi set preview_images=True
|
|
||||||
map zI set preview_images=False
|
|
||||||
|
|
||||||
## toggle_flat
|
|
||||||
map zF toggle_flat
|
|
||||||
map <C-f> fzf_select
|
map <C-f> fzf_select
|
||||||
|
|
Loading…
Reference in New Issue