diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-07-07 20:30:46 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-07-07 21:21:32 +0200 |
commit | fdb338fe12da6b21b6a7aa8c1090621a359dd9c7 (patch) | |
tree | 566577d22eb78d206a5cb3ffac5c0e475a4727b1 /sdn.1 | |
parent | 9056ef41946dca407015ec45505e99d3542e82d1 (diff) | |
download | sdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.tar.gz sdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.tar.xz sdn-fdb338fe12da6b21b6a7aa8c1090621a359dd9c7.zip |
Allow binding to custom key sequences
And document this feature in the manual page.
Diffstat (limited to 'sdn.1')
-rw-r--r-- | sdn.1 | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -98,6 +98,20 @@ normal h parent normal l choose normal M-f4 quit .Ed +.Pp +Midnight Commander binds the same traversal actions to sequences normally +unknown to ncurses, due to them being missing from terminfo. +You'll need to define them manually to match your terminal. +For rxvt, that would be: +.Bd -literal -offset indent +define C-ppage ^[[5^ +define C-npage ^[[6^ +normal C-ppage parent +normal C-npage choose +.Ed +.Pp +Escape characters must be inserted verbatim, e.g., by pressing C-v ESC in vi, +or C-q ESC in Emacs. .Ss Pa look Terminal attributes are accepted in a format similar to that of .Xr git-config 1 , |