Contents
How do you insert a key into a terminal emulator?
To see what your terminal emulator sends for a particular key or key combination, press Ctrl + V and then the key in question. This inserts the first character of the escape sequence literally. Escape sequences normally consist of an escape character followed by printable characters, so the rest of the escape sequence is inserted literally too.
Are there any keyboard shortcuts for CTRL + ENTER?
Settings -> Edit Current Profile -> Keyboard -> (select used keyboard layout) -> Edit -> Search/Filter for Return. This allows to differentiate between Enter and Ctrl + Enter. Now just add bindkey ‘\\e [20;5~’ autosuggest-execute or any other sink in ~/.zshrc.
How can I print the code for Ctrl + V?
There’s a useful key binding for showing such codes: Ctrl+V. After pressing it enter key sequence you want and it will print its code. For example, my Ctrl + ↑ has code ^ [Oa.
How to use keyboard shortcuts in readline Bash?
Then you could bind that \\e [20;5~ to whatever action you want in readline’s ~/.inputrc, with bind in bash, with bindkey in zsh, etc.
Is there utility for describing terminfo entries in Linux?
There is more info in this U&L Q&A titled: Key mappings in Linux. then I’d be happy. There is infocmp utility for describing terminfo entries. This is especially useful with -L option aka long C variable names:
What are the available key combinations on a 101 keyboard?
‘Available’ key combinations on a ‘101’ PC keyboard attached to a PC running ‘zsh’ under xfce4 under Debian Linux (I don’t know who’s ‘in charge’). All combinations that produce duplicate codes within the ‘grey’ keys have been removed except for the simplest avatar which is shown.
What are the keyboard assignments for zsh Linux?
BEGINNER’S GUIDE TO ZSH KEYBOARD ASSIGNMENTS, AKA ‘KEYBOARD BINDINGS’. (comments, improvements, bitter denunciations welcome: rayandrews at eastlink dot ca) ‘Available’ key combinations on a ‘101’ PC keyboard attached to a PC running ‘zsh’ under xfce4 under Debian Linux (I don’t know who’s ‘in charge’).