aboutsummaryrefslogtreecommitdiff
path: root/mode-key.c
Commit message (Collapse)AuthorAge
* Add copy-pipe mode command to copy selection and also pipe to a command.Nicholas Marriott2013-02-19
|
* Fix a couple of memory leaks, from Romain Francoise.Nicholas Marriott2013-02-16
|
* Merge branch 'obsd-master'Thomas Adam2012-11-22
|\ | | | | | | | | | | | | | | | | Sync from OpenBSD. * obsd-master: Add halfpage commands to mode command string table (missed by accident), from Thomas Adam. Clarify some points about config files, notably that they are only read at server start. From Thomas Adam. Use a utility function for common code to show errors in config file, from Thomas Adam.
| * Add halfpage commands to mode command string table (missed by accident),Nicholas Marriott2012-11-19
| | | | | | | | from Thomas Adam.
* | Merge branch 'obsd-master'Thomas Adam2012-10-09
|\| | | | | | | Sync from OpenBSD.
| * Add tree keys to vi mode too, missed by accident.Nicholas Marriott2012-10-09
| |
* | Merge branch 'obsd-master'Thomas Adam2012-10-02
|\| | | | | | | | | | | | | | | Sync from OpenBSD. * obsd-master: Allow session tree (C-b s) to expand and collapse sessions with left/right/space keys. From Thomas Adam. Remove some out of date text from man page, from Thomas Adam.
| * Allow session tree (C-b s) to expand and collapse sessions withNicholas Marriott2012-10-02
| | | | | | | | left/right/space keys. From Thomas Adam.
| * Instead of requiring a prompt to enter all numbers >10, go back toNicholas Marriott2012-08-27
| | | | | | | | | | | | 0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed (like in copy mode). Prompted by request from mcbride@, help from Thomas Adam.
| * Instead of numbering choose mode items 0-9a-z and then nothing, numberNicholas Marriott2012-08-11
| | | | | | | | | | them all and if there are more than 10 use a prompt when 0-9 is pressed. From Thomas Adam.
| * Add A and I keys for vi status line editing.Nicholas Marriott2012-03-04
| |
| * Use RB trees not SPLAY.Nicholas Marriott2012-01-21
| |
| * Add space movement keys for vi mode in the status line from Ben Boeckel.Nicholas Marriott2012-01-20
| |
| * Support "jump to" like vi in copy mode using t and T keys. Also add xNicholas Marriott2011-12-04
| | | | | | | | | | | | and X for delete in edit mode. From Ben Boeckel, thanks.
| * Add home and end keys for command prompt, from Matthias Lederhofer.Nicholas Marriott2011-12-01
| |
| * Add word movement and editing command for command prompt editing, fromNicholas Marriott2011-11-15
| | | | | | | | Ben Boeckel.
| * Add up/down/left/right keys in vi edit mode. From "livibetter" SF bugNicholas Marriott2011-08-16
| | | | | | | | 3385651.
| * Add three new copy-mode commands - select-line, copy-line,Nicholas Marriott2011-05-18
| | | | | | | | copy-end-of-line. From Dave Disser and Randy Stauner a while back.
| * Bind C-u to delete-line in vi mode like ksh does, suggested by thib.Nicholas Marriott2011-04-05
| |
| * Sprinkle a little more const.Nicholas Marriott2011-01-01
| |
| * Add vi-style "jump" commands for copy mode, from Micah Cowan.Nicholas Marriott2010-03-22
| |
| * Permit keys in copy mode to be prefixed by a repeat count, entered withNicholas Marriott2010-03-02
| | | | | | | | | | | | [1-9] in vi mode, or M-[1-9] in emacs mode. From Micah Cowan, tweaked a little by me.
| * Add "N" key to search the opposite way from the last search (reverse of "n"),Nicholas Marriott2010-02-11
| | | | | | | | from Micah Cowan.
| * Rectangle copy support, from Robin Lee Powell.Nicholas Marriott2010-02-06
| |
| * vi-style B, W and E keys in copy mode to navigate between words treating onlyNicholas Marriott2010-02-04
| | | | | | | | | | | | | | spaces as word separators. Also add . to the list of word separators for standard word navigation. From Micah Cowan, tweaked slightly by me.
| * Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.Nicholas Marriott2010-02-01
| |
| * Actually bind the new key to e.Nicholas Marriott2010-01-27
| |
| * Alter next-word to have vi-like movement behaviour, and add next-word-end withNicholas Marriott2010-01-27
| | | | | | | | the existing emacs behaviour. From Micah Cowan.
| * Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.Nicholas Marriott2010-01-25
| |
| * Use C-e and C-y for scrolling in vi mode, from Micah Cowan.Nicholas Marriott2010-01-23
| |
| * Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott2009-12-03
| | | | | | | | | | time now I've configured emacs to make them displayed in really annoying colours...
| * Zap unused functions, prompted by deraadt.Nicholas Marriott2009-11-13
| |
| * Add mode keys to move the cursor to the top, middle and bottom of the screen.Nicholas Marriott2009-10-13
| | | | | | | | H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
| * Support J and K for scroll up and scroll down in copy mode with vi keys,Nicholas Marriott2009-10-07
| | | | | | | | suggested by martynas.
| * Make C-Up and C-Down in copy mode scroll the screen up and down one lineNicholas Marriott2009-10-06
| | | | | | | | | | without moving the cursor, like Up and Down in scroll mode (which will shortly disappear).
| * Get / and ? the right way round in vi mode, and use : for goto line rather thanNicholas Marriott2009-10-04
| | | | | | | | g.
| * C-v and M-v too.Nicholas Marriott2009-10-04
| |
| * Support C-n/C-p with emacs keys in choice mode, also fix a comment.Nicholas Marriott2009-10-04
| |
| * Add a transpose-chars command in edit mode (C-t in emacs mode only). From KalleNicholas Marriott2009-09-02
| | | | | | | | Olavi Niemitalo.
| * Add a "delete line" key when editing in the status line or the search up/downNicholas Marriott2009-08-18
| | | | | | | | prompt. C-u with emacs keys, d with vi.
| * Add (naive) searching and goto line in copy mode. Searching is C-r and C-s withNicholas Marriott2009-08-18
| | | | | | | | | | | | | | | | | | | | emacs keys, / and ? with vi; n repeats the search again with either key set. All searching wraps the top/bottom. Goto line is g for both emacs and vi. The search prompts don't have full line editing, just simple append and delete characters. Also sort the mode keys list in tmux.1.
| * Switch the prompt code to return an empty string when the user enters noNicholas Marriott2009-08-13
| | | | | | | | | | | | | | response and reserve NULL for an explicit cancel. Change all callbacks to treat them the same so no functional change. Also add cancel key bindings to emacs mode which were missing.
| * vi(1)-style half page scroll in copy and scroll modes. Move the vi full pageNicholas Marriott2009-08-13
| | | | | | | | | | | | | | scroll key to C-b instead of C-u and use C-u/C-d for half page scrolling with vi keys. In emacs mode, half page scrolling is bound to M-Up and M-Down. Suggested by merdely (about a year ago :-)).
| * Plug some memory leaks.Nicholas Marriott2009-07-30
| |
| * Final pieces of mode key rebinding: bind-key and unbind-key now accept a -tNicholas Marriott2009-07-28
| | | | | | | | argument to modify a table.
| * Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott2009-07-28
| | | | | | | | | | | | 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 renameNicholas Marriott2009-07-27
| | | | | | | | MODEKEYCOPY_QUIT to _CANCEL to match the others.
| * Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott2009-07-27
| | | | | | | | | | | | | | 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.Nicholas Marriott2009-07-27
| |
| * Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).Nicholas Marriott2009-07-27
| | | | | | | | From Kalle Olavi Niemitalo.