ranger: gp and gp mapped to go to path in clipboard
This commit is contained in:
parent
dfbd109c6e
commit
6892176569
@ -281,13 +281,10 @@ set save_tabs_on_exit false
|
||||
# Enable scroll wrapping - moving down while on the last item will wrap around to
|
||||
# the top and vice versa.
|
||||
set wrap_scroll false
|
||||
map grm cd ~/eth/hrm
|
||||
map gpm cd ~/eth/pm
|
||||
map gre cd ~/eth/recht
|
||||
map grt cd ~/eth/rt2
|
||||
map gvl cd vl
|
||||
map gus cd üs
|
||||
map gz cd zsf
|
||||
# go to path in clipboard (command: xclip -selection clipboard -o)
|
||||
map gd eval fm.cd(os.popen('xclip -selection clipboard -o').read().strip())
|
||||
# go to path of file in clipboard
|
||||
map gp eval fm.cd(os.path.dirname(os.popen('xclip -selection clipboard -o').read().strip()))
|
||||
|
||||
|
||||
map glb cd ~/.local/bin
|
||||
|
Loading…
Reference in New Issue
Block a user