summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/data/config_examples/rc.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/ranger/data/config_examples/rc.conf b/ranger/data/config_examples/rc.conf
index e69de29b..47ffe5a8 100644
--- a/ranger/data/config_examples/rc.conf
+++ b/ranger/data/config_examples/rc.conf
@@ -0,0 +1,39 @@
+# ===================================================================
+# This file contains startup commands for ranger.
+#
+# The purpose of this file is mainly to define keybindings.  For
+# changing settings or running more complex python code, use the
+# configuration file "options.py" or define commands in "commands.py".
+#
+# Each line is a command that will be run before the user interface
+# is initialized.  As a result, you can not use commands which rely on
+# the UI such as :delete or :mark.  Lines starting with # are comments.
+# ===================================================================
+
+# common directories (this overrides some default keybindings)
+#map gt cd /tmp
+#map gc cd ~/.config
+#map gp cd /usr/portage
+
+# Unbind "q" so you don't accidentally close ranger
+#unmap q
+
+# Edit files with the lowercase "e".  By default, uppercase "E" is used.
+#copymap E e
+
+# Add a key for searching files with a given string in their name
+#map F console shell -p find . | grep -Iinr --color 
+
+# Find all files in this directory, shuffle them and view in mplayer
+#map M shell find . | shuf | xargs -d \\n mplayer -fs
+
+# Add some keys to edit configuration files
+#map ,r chain shell vim ~/.config/ranger/rc.conf; source_cmdlist ~/.config/ranger/rc.conf
+#map ,a shell vim ~/.config/ranger/apps.py
+#map ,c shell vim ~/.config/ranger/commands.py
+#map ,o shell vim ~/.config/ranger/options.py
+#map ,R shell vim %rangerdir/defaults/rc.conf
+#map ,A shell vim %rangerdir/defaults/apps.py
+#map ,C shell vim %rangerdir/defaults/commands.py
+#map ,O shell vim %rangerdir/defaults/options.py
+#map ,n shell vim %rangerdir/core/actions.py
becc53d134ed1782e5612e64580'>2a09617 ^
28fc9fa ^
2a09617 ^




28fc9fa ^

2a09617 ^




e56ceb0 ^


28fc9fa ^
2a09617 ^
e56ceb0 ^



2a09617 ^
e56ceb0 ^





ccf5c02 ^




e56ceb0 ^

28fc9fa ^





dfe114b ^

28fc9fa ^
dfe114b ^
28fc9fa ^


e56ceb0 ^






28fc9fa ^

28fc9fa ^

e56ceb0 ^





ccf5c02 ^



e56ceb0 ^



ccf5c02 ^


e56ceb0 ^
ccf5c02 ^


e56ceb0 ^











28fc9fa ^

















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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131