ranger: gp and gp mapped to go to path in clipboard

This commit is contained in:
Alexander Bocken 2024-02-24 15:42:34 +01:00
parent dfbd109c6e
commit 6892176569
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

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