Tig: keybindings with `Ctrl` or `Alt`

Created on 10 Apr 2013  路  4Comments  路  Source: jonas/tig

man tigrc says that current keybindings mechanism is slightly powerless.

   Key values
       Key values should never be quoted. Use either the ASCII value or one of the following symbolic key names. Symbolic key names are case insensitive, Use Hash to bind to the # key, since the hash
       mark is used as a comment character.

   Enter, Space, Backspace, Tab, Escape, Left, Right, Up, Down, Insert, Delete, Hash, Home, End, PageUp, PageDown, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12.

So user couldn't have binding like that?

bind generic Ctrl-S <command>

Most helpful comment

What about the alt, is this possible to bind with?

All 4 comments

Use the conventional ^ char to bind the Ctrl key. i.e. the following binds Ctrl-t to execute ls:

:bind generic ^t !ls

Ok.

What about the alt, is this possible to bind with?

Unable to bind key like <Alt-v>.

Any updates?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

proski picture proski  路  3Comments

weynhamz picture weynhamz  路  8Comments

proski picture proski  路  7Comments

dlee picture dlee  路  6Comments

kiryph picture kiryph  路  6Comments