Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Bad merge. | Nicholas Marriott | 2017-01-25 |
| | |||
* | Drop the edit mode key tables and just use fixed key bindings for the | nicm | 2016-10-12 |
| | | | | command prompt. | ||
* | Some other stuff that can be local to one file. | nicm | 2016-10-11 |
| | |||
* | Fundamental change to how copy mode key bindings work: | nicm | 2016-10-11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The vi-copy and emacs-copy mode key tables are gone, and instead copy mode commands are bound in one of two normal key tables ("copy-mode" or "copy-mode-vi"). Keys are bound to "send-keys -X copy-mode-command". So: bind -temacs-copy C-Up scroll-up bind -temacs-copy -R5 WheelUpPane scroll-up Becomes: bind -Tcopy-mode C-Up send -X scroll-up bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up This allows the full command parser and command set to be used - for example, we can use the normal command prompt for searching, jumping, and so on instead of a custom one: bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'" command-prompt also gets a -1 option to only require on key press, which is needed for jumping. The plan is to get rid of mode keys entirely, so more to come eventually. | ||
* | Loads more static, except for cmd-*.c and window-*.c. | nicm | 2016-10-10 |
| | |||
* | Allow repeat count to be specified in mode key tables with bind-key -R, | nicm | 2016-09-12 |
| | | | | | and set the default repeat count to 5 for WheelUp and WheelDown in copy-mode. | ||
* | Add next/previous paragraph, from J Raynor. | nicm | 2016-04-27 |
| | |||
* | Instead of reusing MouseUp at the finish of a drag, add a new key | nicm | 2016-03-18 |
| | | | | MouseDragEnd. It can be useful to bind them separately in copy mode. | ||
* | When a mouse drag is finished, fire a MouseUp key press, instead of | nicm | 2016-03-01 |
| | | | | doing the drag end in code. From Stephen Coakley. | ||
* | I no longer use my SourceForge address so replace it. | nicm | 2016-01-19 |
| | |||
* | Support UTF-8 key bindings by expanding the key type from int to | nicm | 2015-11-12 |
| | | | | | | uint64_t and converting UTF-8 to Unicode on input and the reverse on output. (This allows key bindings, there are still omissions - the largest being that the various prompts do not accept UTF-8.) | ||
* | mode_key_entry can go into mode-key.c; also a few spaces->tabs. | nicm | 2015-05-08 |
| | |||
* | Rewrite of tmux mouse support which was a mess. Instead of having | nicm | 2015-04-19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | options for "mouse-this" and "mouse-that", mouse events may be bound as keys and there is one option "mouse" that turns on mouse support entirely (set -g mouse on). See the new MOUSE SUPPORT section of the man page for description of the key names and new flags (-t= to specify the pane or window under mouse as a target, and send-keys -M to pass through a mouse event). The default builtin bindings for the mouse are: bind -n MouseDown1Pane select-pane -t=; send-keys -M bind -n MouseDown1Status select-window -t= bind -n MouseDrag1Pane copy-mode -M bind -n MouseDrag1Border resize-pane -M To get the effect of turning mode-mouse off, do: unbind -n MouseDrag1Pane unbind -temacs-copy MouseDrag1Pane The old mouse options are now gone, set-option -q may be used to suppress warnings if mixing configuration files. | ||
* | Add V for select line with vi(1) keys. From Juho Pohjala. | nicm | 2014-11-06 |
| | |||
* | No need to repeat other-end more than once, from Juho Pohjala. Also add | nicm | 2014-08-11 |
| | | | | it to the commands list while here. | ||
* | Add a copy mode key binding to copy to a named buffer. From J Raynor. | nicm | 2014-05-13 |
| | |||
* | Add setb -a to append and a copy mode append command, from J Raynor with | nicm | 2014-03-31 |
| | | | | minor changes. | ||
* | Add start-of-list, end-of-list, top-line and bottom-line in choice mode, | nicm | 2014-03-31 |
| | | | | | from madmaverick9 at roxxmail dot eu, similar diff a few days later from Marcel Partap. | ||
* | Make C-j the same as C-m, from Simon Nicolussi. | nicm | 2014-02-14 |
| | |||
* | Key to swap to other end of selection (bound to o with vi keys), from J | nicm | 2013-10-23 |
| | | | | Raynor. | ||
* | Whitespace nits, from Ben Boeckel. | Nicholas Marriott | 2013-07-05 |
| | |||
* | Add copy-pipe mode command to copy selection and also pipe to a command. | Nicholas Marriott | 2013-03-22 |
| | |||
* | Fix a couple of memory leaks, from Romain Francoise. | Nicholas Marriott | 2013-03-21 |
| | |||
* | Add halfpage commands to mode command string table (missed by accident), | Nicholas Marriott | 2012-11-19 |
| | | | | from Thomas Adam. | ||
* | Add tree keys to vi mode too, missed by accident. | Nicholas Marriott | 2012-10-09 |
| | |||
* | Allow session tree (C-b s) to expand and collapse sessions with | Nicholas Marriott | 2012-10-02 |
| | | | | left/right/space keys. From Thomas Adam. | ||
* | Instead of requiring a prompt to enter all numbers >10, go back to | Nicholas Marriott | 2012-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, number | Nicholas Marriott | 2012-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 Marriott | 2012-03-04 |
| | |||
* | Use RB trees not SPLAY. | Nicholas Marriott | 2012-01-21 |
| | |||
* | Add space movement keys for vi mode in the status line from Ben Boeckel. | Nicholas Marriott | 2012-01-20 |
| | |||
* | Support "jump to" like vi in copy mode using t and T keys. Also add x | Nicholas Marriott | 2011-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 Marriott | 2011-12-01 |
| | |||
* | Add word movement and editing command for command prompt editing, from | Nicholas Marriott | 2011-11-15 |
| | | | | Ben Boeckel. | ||
* | Add up/down/left/right keys in vi edit mode. From "livibetter" SF bug | Nicholas Marriott | 2011-08-16 |
| | | | | 3385651. | ||
* | Add three new copy-mode commands - select-line, copy-line, | Nicholas Marriott | 2011-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 Marriott | 2011-04-05 |
| | |||
* | Sprinkle a little more const. | Nicholas Marriott | 2011-01-01 |
| | |||
* | Add vi-style "jump" commands for copy mode, from Micah Cowan. | Nicholas Marriott | 2010-03-22 |
| | |||
* | Permit keys in copy mode to be prefixed by a repeat count, entered with | Nicholas Marriott | 2010-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 Marriott | 2010-02-11 |
| | | | | from Micah Cowan. | ||
* | Rectangle copy support, from Robin Lee Powell. | Nicholas Marriott | 2010-02-06 |
| | |||
* | vi-style B, W and E keys in copy mode to navigate between words treating only | Nicholas Marriott | 2010-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 Marriott | 2010-02-01 |
| | |||
* | Actually bind the new key to e. | Nicholas Marriott | 2010-01-27 |
| | |||
* | Alter next-word to have vi-like movement behaviour, and add next-word-end with | Nicholas Marriott | 2010-01-27 |
| | | | | the existing emacs behaviour. From Micah Cowan. | ||
* | Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me. | Nicholas Marriott | 2010-01-25 |
| | |||
* | Use C-e and C-y for scrolling in vi mode, from Micah Cowan. | Nicholas Marriott | 2010-01-23 |
| | |||
* | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last | Nicholas Marriott | 2009-12-03 |
| | | | | | time now I've configured emacs to make them displayed in really annoying colours... | ||
* | Zap unused functions, prompted by deraadt. | Nicholas Marriott | 2009-11-13 |
| |