summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/window-copy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Reset selection flag when clearing or stopping selection, from Marknicm2020-03-151-1/+4
| | | | Kelly.
* Add a copy-mode -H flag to hide the position marker in the top right.nicm2020-03-121-2/+4
|
* Start a new selection if outside the existing selection after a word hasnicm2020-03-111-2/+5
| | | | been selected. From Anindya Mukherjee.
* Change mouse selection so that after selecting a word, dragging selectsnicm2020-02-241-18/+244
| | | | only words and similar for lines. From Anindya Mukherjee.
* Add selection_active format for when the selection is present but notnicm2020-02-201-2/+5
| | | | moving with the cursor, from Mark Kelly.
* Do not jump to next word end if already on a word end when selecting anicm2020-02-131-2/+14
| | | | | word. Fixes select-word with single character words and vi(1) keys. From Mark Kelly.
* Support regex search in copy mode, from Anindya Mukherjee in GitHubnicm2019-12-271-38/+359
| | | | issue 2038.
* Tweak previous to check the wrapped flag and stop if not set.nicm2019-12-111-5/+13
|
* Allow search across wrapped lines and fix some inconsistencies in how thnicm2019-12-111-16/+32
| | | | position is represented, GitHub issue 2014 from Anindya Mukherjee.
* Don't use motion flag uninitialized.nicm2019-11-251-2/+2
|
* Fix a warning in previous.nicm2019-11-251-2/+2
|
* Do not clear search marks on cursor movement with vi(1) keys, from Ericnicm2019-11-251-66/+75
| | | | Pruitt in GitHub issue 1985.
* Add -F flag to send-keys to expand formats in search-backward andnicm2019-11-071-5/+29
| | | | | forward copy mode commands, this makes it easier to use the cursor_word and cursor_line formats. From Anindya Mukherjee in GitHub issue 1964.
* Use the existing code in format.c to add foramts for word and line atnicm2019-10-231-1/+14
| | | | cursor position in copy mode, from Anindya Mukherjee.
* Add formats for cursor and selection position in copy mode, from Jason Felice.nicm2019-10-191-2/+12
|
* Set up format tree for %if, GitHub issue 1896.nicm2019-09-101-2/+1
|
* Add cursor-down-and-cancel, from Mark Kelly.nicm2019-09-091-1/+18
|
* Default to previous search string for search-forward andnicm2019-08-141-11/+21
| | | | search-backward, from Leah Neukirchen.
* Revert a change I did not mean to commit yet.nicm2019-08-141-8/+7
|
* Add -Z flag to rotate-window, select-pane, swap-pane, switch-client tonicm2019-08-141-7/+8
| | | | preserve zoomed state. GitHub issue 1839.
* Correctly wrap search in copy mode even if at the very top left, GitHubnicm2019-08-011-14/+22
| | | | issue 1845.
* Select the correct word for select-word when already at the start of anicm2019-08-011-26/+28
| | | | word, GitHub issue 1820.
* Clear search marks before resize, GitHub issue 1823.nicm2019-07-081-2/+5
|
* Do not use uninitialized buffer name.nicm2019-07-051-2/+2
|
* Set the cursor x at the same time as changing the y or the end of linenicm2019-06-131-5/+5
| | | | marker may not be redrawn.
* Need to increment the argument to skip the prefix earlier, fixesnicm2019-06-051-9/+9
| | | | | repeated incremental search in copy mode, reported by Kaushal Modi in GitHub issue 1780.
* Add formats for word and line under the mouse and use them to add somenicm2019-05-261-38/+3
| | | | items to the pane menu.
* Fix dragging when in view mode rather than copy mode, GitHub issue 1740nicm2019-05-151-5/+13
| | | | from Brad Town.
* Fix some indentation and dead assignments.nicm2019-05-121-4/+1
|
* Adjust the same bit to adjust the selection for history-top andnicm2019-05-071-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 backnicm2019-05-031-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.nicm2019-05-011-3/+2
|
* Add support for keys to jump between matching brackets - C-M-f and C-M-bnicm2019-04-291-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 mousenicm2019-04-251-3/+71
| | | | and the cursor reaches the top or bottom line.
* Add -no-clear variants of copy-selection and copy-pipe which do notnicm2019-04-231-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,nicm2019-04-021-39/+104
| | | | allows buffers for different sessions to be named separately.
* Fix stop-selection, from Avi Halachmi.nicm2019-03-271-1/+2
|
* Break copy mode commands into individual functions instead of a big loadnicm2019-03-261-422/+1031
| | | | of if statements.
* DECRC and DECSC apparently need to preserve origin mode as well, basednicm2019-03-121-11/+11
| | | | on a fix from Marc Reisner.
* Allow multiple modes to be open in a pane. A stack of open modes is keptnicm2019-03-121-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) usenicm2019-03-081-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.nicm2019-03-081-2/+3
|
* Add a separate mode struct for the active window mode if any.nicm2019-03-071-443/+495
|
* Tidy changing the mode into window_copy_init_for_output.nicm2019-03-071-1/+7
|
* Make adding mode formats a function pointer as well.nicm2019-03-071-15/+14
|
* Pass window into mode functions.nicm2018-12-181-3/+4
|
* Handle UTF-8 in word-separators option, GitHub issue 1551.nicm2018-11-281-7/+19
|
* It isn't possible to specify buffer name to copy mode commands now, sonicm2018-11-081-32/+24
| | | | remove the function argument.
* Do not move the cursor when the mouse wheel is used, GitHub issue 1493.nicm2018-10-031-2/+2
|
* Allow panes to be 1 line or column by redrawing instead of using thenicm2018-09-251-2/+2
| | | | scroll region, from Soeren Tempel in GitHub issue 1487.