Fixed ranger bookmarking and opening last dir

This commit is contained in:
2018-12-08 20:44:09 -05:00
parent 3555b19be5
commit 0248ff9b6e
10 changed files with 40 additions and 35 deletions

View File

@@ -240,7 +240,7 @@ bindsym Mod4+s workspace $ws10; exec spotify
set $ws11 "11 "
# assign [class="Summoners War Exporter"] $ws11
workspace $ws11 output $samsung
bindsym $mod+F11 workspace $ws8; exec $def_term
bindsym $mod+F11 workspace $ws11; exec $def_term
set $ws12 "12 "
bindsym $mod+F12 workspace $ws12; exec $def_term

View File

@@ -418,8 +418,8 @@ map yj eval fm.copy(dirarg=dict(down=1), narg=quantifier)
map yk eval fm.copy(dirarg=dict(up=1), narg=quantifier)
# Searching
map gr console search%space
map / fzf_select
map / console search%space
map gr fzf_select
map n search_next
map N search_next forward=False
map ct search_next order=tag
@@ -493,11 +493,11 @@ copymap zf zz
# Bookmarks
map `<any> enter_bookmark %any
map '<any> enter_bookmark %any
map m<any> set_bookmark %any
map um<any> unset_bookmark %any
map b<any> set_bookmark %any
map ub<any> unset_bookmark %any
map m<bg> draw_bookmarks
copymap m<bg> um<bg> `<bg> '<bg>
# map m<bg> draw_bookmarks
# copymap m<bg> um<bg> `<bg> '<bg>
# Generate all the chmod bindings with some python help:
eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg))
@@ -674,8 +674,8 @@ map rr source ~/.config/ranger/rc.conf
# backgrounds
map w shell /usr/bin/wal -i %f
map md shell mv %f dim
map mb shell mv %f vibrant
map bgd shell mv %f dim
map bgb shell mv %f vibrant
# bulk rename
map cw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")