summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/mode-key.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Final pieces of mode key rebinding: bind-key and unbind-key now accept a -tnicm2009-07-281-1/+31
| | | | argument to modify a table.
* Next step towards customisable mode keys: build each default table of keys intonicm2009-07-281-21/+162
| | | | | | a named tree on start and use that for lookups. Also add command to string translation tables and modify list-keys to show the the mode key bindings (new -t argument).
* Remove an unused entry in the mode keys command enum and renamenicm2009-07-271-6/+6
| | | | MODEKEYCOPY_QUIT to _CANCEL to match the others.
* Change mode key bindings from big switches into a set of tables. Rather thannicm2009-07-271-182/+166
| | | | | | | lumping them all together, split editing keys from those used in choice/more mode and those for copy/scroll mode. Tidier and clearer, and the first step towards customisable mode keys.
* Get rid of empty mode_key_free function.nicm2009-07-271-6/+1
|
* Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).nicm2009-07-271-1/+9
| | | | From Kalle Olavi Niemitalo.
* Detect backspace by looking at termios VERASE and translate it into \177 (whichnicm2009-07-261-4/+4
| | | | | | matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs cap is often wrong or missing so it can't be used, and just assuming \177 may be wrong.
* C-d is delete as well in emacs mode.nicm2009-07-231-1/+2
|
* Tidy up keys: use an enum for the key codes, and remove the macros which justnicm2009-07-211-8/+8
| | | | wrap flag sets/clears/tests.
* Add a "back to indentation" key in copy mode to move the cursor to the firstnicm2009-07-121-2/+5
| | | | | non-whitespace character. ^ with vi and M-m with emacs key bindings. Another from Kalle Olavi Niemitalo, thanks.
* Import tmux, a terminal multiplexor allowing (among other things) a singlenicm2009-06-011-0/+210
terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti