diff --git a/ranger/.config/ranger/rc.conf b/ranger/.config/ranger/rc.conf index e3456e0..235635c 100644 --- a/ranger/.config/ranger/rc.conf +++ b/ranger/.config/ranger/rc.conf @@ -30,7 +30,7 @@ set viewmode miller set column_ratios 1,3,4 # Which files should be hidden? (regular expression) -set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$ +set hidden_filter ^\.(?:pyc|pyo|bak|swp|bundle|cache)$|^lost\+found$|^__(py)?cache__$ # Show hidden files? You can toggle this by typing 'zh' set show_hidden false @@ -56,7 +56,7 @@ set automatically_count_files true set open_all_images true # Be aware of version control systems and display information. -set vcs_aware false +set vcs_aware true # State of the three backends git, hg, bzr. The possible states are # disabled, local (only show local info), enabled (show local and remote @@ -97,7 +97,7 @@ set show_hidden_bookmarks true # Which colorscheme to use? These colorschemes are available by default: # default, jungle, snow, solarized -set colorscheme default +set colorscheme solarized # Preview files on the rightmost column? # And collapse (shrink) the last column if there is nothing to preview? @@ -610,3 +610,27 @@ tmap eval -q fm.ui.taskview.task_remove() tmap redraw_window tmap taskview_close copytmap q Q w + +# My movements +map gd cd ~/Documents +map td tab_new ~/Documents +map md shell mv %s ~/Documents +map Yd shell cp %s ~/Documents +map gww cd ~/Pictures/wallpaper +map tww tab_new ~/Pictures/wallpaper +map mww shell mv %s ~/Pictures/wallpaper +map Yww shell cp %s ~/Pictures/wallpaper + +# Images +map bg shell cp %f ~/.config/wall.png && feh --bg-scale %f + +# Config files +map cfm shell vim ~/.muttrc +map cfv shell vim ~/.vimrc.local +map cfz shell vim ~/.zshr +map cfi shell vim ~/config/i3/config +map cfr shell vim ~/.config/ranger/rc.conf +map cfx shell vim ~/.Xresources + +# use devicons plugin (https://github.com/alexanderjeurissen/ranger_devicons) +default_linemode devicons