Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Adjust the same bit to adjust the selection for history-top and | 2019-05-07 | 1 | -3/+13 | ||
| | | | | history-bottom as for cursor-up and cursor-down. GitHub issue 1723. | |||||
* | Do not store the mouse position we calculate as the start of a drag back | 2019-05-03 | 1 | -1/+3 | ||
| | | | | | into the mouse event that later code uses, it has been adjusted and they should use the original position. GitHub issue 1710. | |||||
* | Remove unused variable from Thomas Adam. | 2019-05-01 | 1 | -3/+2 | ||
| | ||||||
* | Add support for keys to jump between matching brackets - C-M-f and C-M-b | 2019-04-29 | 1 | -2/+223 | ||
| | | | | | in emacs, % in vi. Suggested by and help from Chris Barber in GitHub issue 1666. | |||||
* | Automatically scroll if dragging to create a selection with the mouse | 2019-04-25 | 1 | -3/+71 | ||
| | | | | and the cursor reaches the top or bottom line. | |||||
* | Add -no-clear variants of copy-selection and copy-pipe which do not | 2019-04-23 | 1 | -35/+30 | ||
| | | | | | clear the selection after copying. Make copy-pipe clear the selection by default to be consistent with copy-selection. From Avi Halachmi. | |||||
* | Add an argument to copy commands to set the prefix for the buffer name, | 2019-04-02 | 1 | -39/+104 | ||
| | | | | allows buffers for different sessions to be named separately. | |||||
* | Fix stop-selection, from Avi Halachmi. | 2019-03-27 | 1 | -1/+2 | ||
| | ||||||
* | Break copy mode commands into individual functions instead of a big load | 2019-03-26 | 1 | -422/+1031 | ||
| | | | | of if statements. | |||||
* | DECRC and DECSC apparently need to preserve origin mode as well, based | 2019-03-12 | 1 | -11/+11 | ||
| | | | | on a fix from Marc Reisner. | |||||
* | Allow multiple modes to be open in a pane. A stack of open modes is kept | 2019-03-12 | 1 | -27/+36 | ||
| | | | | | | and the previous restored when the top is exited. If a mode that is already on the stack is entered, the existing instance is moved to the top as the active mode rather than being opened new. | |||||
* | Make the mode used to view command output (a variant of copy mode) use | 2019-03-08 | 1 | -39/+47 | ||
| | | | | | its own mode definition struct with a different init function rather than calling special setup functions. | |||||
* | Do not use window mode entry after free. | 2019-03-08 | 1 | -2/+3 | ||
| | ||||||
* | Add a separate mode struct for the active window mode if any. | 2019-03-07 | 1 | -443/+495 | ||
| | ||||||
* | Tidy changing the mode into window_copy_init_for_output. | 2019-03-07 | 1 | -1/+7 | ||
| | ||||||
* | Make adding mode formats a function pointer as well. | 2019-03-07 | 1 | -15/+14 | ||
| | ||||||
* | Pass window into mode functions. | 2018-12-18 | 1 | -3/+4 | ||
| | ||||||
* | Handle UTF-8 in word-separators option, GitHub issue 1551. | 2018-11-28 | 1 | -7/+19 | ||
| | ||||||
* | It isn't possible to specify buffer name to copy mode commands now, so | 2018-11-08 | 1 | -32/+24 | ||
| | | | | remove the function argument. | |||||
* | Do not move the cursor when the mouse wheel is used, GitHub issue 1493. | 2018-10-03 | 1 | -2/+2 | ||
| | ||||||
* | Allow panes to be 1 line or column by redrawing instead of using the | 2018-09-25 | 1 | -2/+2 | ||
| | | | | scroll region, from Soeren Tempel in GitHub issue 1487. | |||||
* | Do not clear selection when searching. | 2018-09-10 | 1 | -2/+1 | ||
| | ||||||
* | Allow a large line number to go to the end with goto-line, from Mark | 2018-09-03 | 1 | -3/+5 | ||
| | | | | Kelly in GitHub issue 1460. | |||||
* | Fix selection test, from Takeshi Banse. | 2018-09-03 | 1 | -2/+2 | ||
| | ||||||
* | Reset line flag when clearing selection, GitHub issue 1454. | 2018-08-29 | 1 | -1/+2 | ||
| | ||||||
* | Move job struct into job.c. | 2018-08-23 | 1 | -2/+2 | ||
| | ||||||
* | Fix problems with page scrolling in copy mode, GitHub issue 1440 from | 2018-08-20 | 1 | -11/+13 | ||
| | | | | Amos Bird. | |||||
* | calloc the mode data instead of malloc and initialize everything. | 2018-08-05 | 1 | -14/+2 | ||
| | ||||||
* | Initialize new lineflag member. | 2018-08-01 | 1 | -1/+2 | ||
| | ||||||
* | Move struct screen_sel into screen.c and tidy up members that are only | 2018-07-31 | 1 | -46/+58 | ||
| | | | | used by copy mode. | |||||
* | Add a rectangle_toggle format, from Hirokazu Hata. | 2018-07-06 | 1 | -1/+2 | ||
| | ||||||
* | Add accessors for grid linedata member, for some future work. From Dan | 2018-07-04 | 1 | -9/+12 | ||
| | | | | Aloni. | |||||
* | Do not take address of a member of a NULL pointer. GitHub issue 1382 | 2018-06-26 | 1 | -3/+2 | ||
| | | | | from Kamil Rytarowski. | |||||
* | Check whether cursor is at start or end when copying rectangular | 2018-04-23 | 1 | -7/+11 | ||
| | | | | selections, from tb@. | |||||
* | Add a missing client-detached hook when the server shuts down, and do | 2018-03-08 | 1 | -2/+2 | ||
| | | | | | not exit until jobs started from run-shell/if-shell have finished (add a job flags member and a flag to indicate other jobs). GitHub issue 1245. | |||||
* | Add -and-cancel variants for scrolling commands to exit copy mode when | 2017-11-16 | 1 | -11/+26 | ||
| | | | | the bottom is reached, from Stephen Hicks. | |||||
* | When searching in copy mode, do not scroll if the result is already on | 2017-11-13 | 1 | -12/+16 | ||
| | | | | screen. GitHub issue 1150. | |||||
* | Remove unused (always 1) arguments from some functions, from Daniel | 2017-09-13 | 1 | -39/+36 | ||
| | | | | Mueller in GitHub issue 1073. | |||||
* | Move to current mouse position not last when clcking in copy mode; fixes | 2017-09-04 | 1 | -2/+2 | ||
| | | | | GitHub issue 1055. Also a man page fix from jmc. | |||||
* | Redraw rectangle selections properly when cursor at end, GitHub issue 992. | 2017-08-29 | 1 | -5/+12 | ||
| | ||||||
* | Fix searching when match is at end of line, from Brad Town. | 2017-08-23 | 1 | -2/+2 | ||
| | ||||||
* | Add selection_present format so commands in copy mode can use it, GitHub | 2017-08-02 | 1 | -5/+8 | ||
| | | | | issue 1028. | |||||
* | Add a hook when the clipboard is set. | 2017-06-09 | 1 | -1/+3 | ||
| | ||||||
* | Make set-clipboard a three-state option so tmux itself can ignore the | 2017-06-03 | 1 | -3/+3 | ||
| | | | | sequencess. | |||||
* | Rewrite of choose mode, both to simplify and tidy the code and to add | 2017-05-30 | 1 | -3/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some modern features. Now the common code is in mode-tree.c, which provides an API used by the three modes now separated into window-{buffer,client,tree}.c. Buffer mode shows buffers, client mode clients and tree mode a tree of sessions, windows and panes. Each mode has a common set of key bindings plus a few that are specific to the mode. Other changes are: - each mode has a preview pane: for buffers this is the buffer content (very useful), for others it is a preview of the pane; - items may be sorted in different ways ('O' key); - multiple items may be tagged and an operation applied to all of them (for example, to delete multiple buffers at once); - in tree mode a command may be run on the selected item (session, window, pane) or on tagged items (key ':'); - displayed items may be filtered in tree mode by using a format (this is used to implement find-window) (key 'f'); - the custom format (-F) for the display is no longer available; - shortcut keys change from 0-9, a-z, A-Z which was always a bit weird with keys used for other uses to 0-9, M-a to M-z. Now that the code is simpler, other improvements will come later. Primary key bindings for each mode are documented under the commands in the man page (choose-buffer, choose-client, choose-tree). Parts written by Thomas Adam. | |||||
* | Do not factor in screen_hsize() for the visible copy mode screen when | 2017-05-29 | 1 | -2/+2 | ||
| | | | | | adjusting the selection, it should never have any useful history (and when it does, after resize, we shouldn't use it). From Michal Mazurek. | |||||
* | Scrolling needs to use background colour. | 2017-05-12 | 1 | -2/+2 | ||
| | ||||||
* | Store copy mode search string in pane so search-again command works even | 2017-05-12 | 1 | -16/+11 | ||
| | | | | | if you exit and reenter copy mode (it doesn't remember the position, just the search string), suggested by espie@. | |||||
* | Add a format for the name of the pane's mode, lets it be used as a | 2017-05-07 | 1 | -1/+3 | ||
| | | | | conditional for key bindings. | |||||
* | Add a format for the last search string in copy mode and fix the prompt | 2017-05-03 | 1 | -1/+14 | ||
| | | | | so it can work when in -I, suggested by Suraj N Kurapati. |