-
Notifications
You must be signed in to change notification settings - Fork 4
/
rc.conf
44 lines (40 loc) · 1.12 KB
/
rc.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Configuration
set colorscheme solarized
set preview_script /usr/share/doc/ranger/config/scope.sh
# Uncomment SVG and video as image preview in scope.sh.
set preview_images true
set preview_images_method w3m
#set preview_images_method ueberzug slower than w3m
#set preview_images_method urxvt need rxvt-unicode-pixbuf from AUR
setlocal path=/data/ vcs_aware true
set draw_borders true
set collapse_preview false
#set open_all_images true
# It can otherwise lag.
set preview_max_size 100000000
# Configuration: sorting
set sort_directories_first false
set sort_reverse true
setlocal path=/data/inputs sort_reverse false
setlocal path=/data/inputs sort mtime
# Search
#set clear_filters_on_dir_change true
map f console scout -fpit%space
# Commands
map dD shell trash-put %s
#map dr console delete
#map S shell fish
map S shell urxvt -e fish &
# Commands: directory shortcuts
# TODO: use bookmarks instead
#map gd cd /data
map gr cd /data/research
map gs cd /data/sociétés
map gi cd /data/inputs
map gf cd /data/finances
map gp cd /data/photos
map gd cd /data/divers
map gn cd /data/notes
map gm cd /mnt
map gt cd ~/.local/share/Trash
unmap gM