ranger.defaults.keys | index /home/hut/ranger/ranger/defaults/keys.py |
This is the default key configuration file of ranger.
Syntax for binding keys: bind(*keys, fnc)
keys are one or more key-combinations which are either:
* a string
* an integer which represents an ascii code
* a tuple of integers
fnc is a function which is called with the CommandArgument object.
The CommandArgument object has these attributes:
arg.fm: the file manager instance
arg.wdg: the widget or ui instance
arg.n: the number typed before the key combination (if allowed)
arg.keys: the string representation of the used key combination
arg.keybuffer: the keybuffer instance
Check ranger.keyapi for more information
Modules | ||||||
|