|
1 |
| -# Keybindings file for CliFM |
2 |
| - |
3 |
| -# Use the 'kbgen' plugin (compile it first: gcc -o kbgen kbgen.c) to |
4 |
| -# find out the escape code for the key or key sequence you want. Use |
5 |
| -# either octal, hexadecimal codes or symbols. |
6 |
| -# Ex: For Alt-/ (in rxvt terminals) 'kbgen' will print the following |
7 |
| -# lines: |
8 |
| -# Hex | Oct | Symbol |
9 |
| -# ---- | ---- | ------ |
10 |
| -# \x1b | \033 | ESC (\e) |
11 |
| -# \x2f | \057 | / |
12 |
| -# In this case, the keybinding, if using symbols, is: "\e/:function" |
13 |
| -# In case you prefer the hex codes it would be: \x1b\x2f:function. |
14 |
| -# GNU emacs escape sequences are also allowed (ex: "\M-a", Alt-a |
15 |
| -# in most keyboards, or "\C-r" for Ctrl-r). |
16 |
| -# Some codes, especially those involving keys like Ctrl or the arrow |
17 |
| -# keys, vary depending on the terminal emulator and the system settings. |
18 |
| -# These keybindings should be set up thus on a per terminal basis. |
19 |
| -# You can also consult the terminfo database via the infocmp command. |
20 |
| -# See terminfo(5) and infocmp(1). |
| 1 | + ################################## |
| 2 | + # Keybindings file for Clifm # |
| 3 | + ################################## |
| 4 | + |
| 5 | +# Empty and commented lines are ignored. |
| 6 | + |
| 7 | +# Below is the list of available functions and their default key bindings. |
| 8 | +# To edit a keybinding use the 'kb bind' command. For example, to bind |
| 9 | +# the previous-dir function run 'kb bind previous-dir', enter a new |
| 10 | +# key binding and confirm. |
| 11 | +# |
| 12 | +# In case you wan to edit this file manually, use Emacs style key sequences. |
| 13 | +# For example, use "action:\C-t" to bind the action name 'action' to Ctrl-t, |
| 14 | +# or "action:\et" to bind it to Alt-t. |
21 | 15 |
|
22 | 16 | # Ctrl-j
|
23 | 17 | previous-dir:\C-j
|
|
0 commit comments