aboutsummaryrefslogtreecommitdiff
path: root/.config/ranger/rc.conf
blob: 0270531e9c989699cee0a3ec8359daeafd26bb5b (plain)
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
45
46
47
48
49
50
51
52
# Do not automatically count files
set automatically_count_files false

# Enable borders
set draw_borders true

set preview_files false

# Allow bulk rename
map cw eval fm.execute_console("bulkrename") if fm.thisdir.marked_items else fm.open_console("rename ")

# Filter on find
map / console scout -ftsea%space

# Open with dmenu
map ru shell compgen -c | dmenu -f -i -b -p ⠀:::⠀open⠀::: | xargs -I{} -r /bin/sh -c "{} %s > /dev/null 2>&1" &

# Sort by last modified
set sort=ctime

# Open terminal in current directory
map ,. shell urxvt &

# Image tools
map ei shell bash ~/.local/bin/imgtools '%s'

# Pdf Tools
map ep shell bash ~/.local/bin/pdftools '%s'

# Raname Tools
map er shell bash ~/.local/bin/rntools %s

# Fuzzy directory search using bookmarks
map ed fzf_dir_select

# Fuzzy file search
map ef fzf_file_select

# pngquant
map eg shell pngquant --ext .png -f %s

# Current directory file usage
map eu shell ncdu -x .

# Go to Trash Directory
map et cd ~/.local/share/Trash/files

# Move files to trash
map dD shell trash -- %s

# Delete files older than 60 days in trash
map dT shell trash-empty 60