aboutsummaryrefslogtreecommitdiffstats
path: root/_config/ranger/rc.conf
blob: de4a708defdb6d71886eb92eb023bea3945dd4af (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# ~/.config/ranger/rc.conf
#

# ===================================================================
# == Options
# ===================================================================

# Which files should be hidden? (regular expression)
set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$

# Show hidden files? You can toggle this by typing 'zh'
set show_hidden false

# Be aware of version control systems and display information.
set vcs_aware false
set vcs_backend_git local

# Use the external preview script or display simple plain text or image previews?
set use_preview_script true

# Use one of the supported image preview protocols
set preview_images false
set preview_images_method w3m

# Use a unicode "..." character to mark cut-off filenames?
set unicode_ellipsis true

# Which colorscheme to use?
set colorscheme solarized

# Preview files on the rightmost column?
# And collapse (shrink) the last column if there is nothing to preview?
set preview_files true
set preview_directories true
set collapse_preview true

# Avoid previewing files larger than this size, in bytes.  Use a value of 0 to
# disable this feature.
set preview_max_size 10000000

# Abbreviate $HOME with ~ in the titlebar (first line) of ranger?
set tilde_in_titlebar true

set update_title true

# Additional sorting options
set sort_case_insensitive false
set sort_directories_first true
set sort_unicode false


# ===================================================================
# == Command Aliases in the console
# ===================================================================


# ===================================================================
# == Define keys for the browser
# ===================================================================

# Filter as you type "f"
map f console scout -aefts%space

# Add fork flag when using "open_with" (add double space before "f")
map r chain draw_possible_programs; console -p10 open_with  f

# Recursive search for files
map gf console chain flat -1; filter%space

# Clear flat and filter
map zz chain flat 0; filter

# ===================================================================
# == Define keys for the console
# ===================================================================
# Note: Unmapped keys are passed directly to the console.


# ===================================================================
# == Pager Keybindings
# ===================================================================


# ===================================================================
# == Taskview Keybindings
# ===================================================================