aboutsummaryrefslogtreecommitdiff
path: root/window-copy.c
Commit message (Collapse)AuthorAge
* Support regex search in copy mode, from Anindya Mukherjee in GitHubnicm2019-12-27
| | | | issue 2038.
* Tweak previous to check the wrapped flag and stop if not set.nicm2019-12-11
|
* Allow search across wrapped lines and fix some inconsistencies in how thnicm2019-12-11
| | | | position is represented, GitHub issue 2014 from Anindya Mukherjee.
* Don't use motion flag uninitialized.nicm2019-11-25
|
* Fix a warning in previous.nicm2019-11-25
|
* Do not clear search marks on cursor movement with vi(1) keys, from Ericnicm2019-11-25
| | | | Pruitt in GitHub issue 1985.
* Add -F flag to send-keys to expand formats in search-backward andnicm2019-11-07
| | | | | 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-23
| | | | cursor position in copy mode, from Anindya Mukherjee.
* Add formats for cursor and selection position in copy mode, from Jason Felice.nicm2019-10-19
|
* Set up format tree for %if, GitHub issue 1896.nicm2019-09-10
|
* Add cursor-down-and-cancel, from Mark Kelly.nicm2019-09-09
|
* Default to previous search string for search-forward andnicm2019-08-14
| | | | search-backward, from Leah Neukirchen.
* Correctly wrap search in copy mode even if at the very top left, GitHubnicm2019-08-01
| | | | issue 1845.
* Select the correct word for select-word when already at the start of anicm2019-08-01
| | | | word, GitHub issue 1820.
* Clear search marks before resize, GitHub issue 1823.nicm2019-07-08
|
* Do not use uninitialized buffer name.nicm2019-07-05
|
* Set the cursor x at the same time as changing the y or the end of linenicm2019-06-13
| | | | marker may not be redrawn.
* Need to increment the argument to skip the prefix earlier, fixesnicm2019-06-05
| | | | | 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-26
| | | | items to the pane menu.
* Fix dragging when in view mode rather than copy mode, GitHub issue 1740nicm2019-05-15
| | | | from Brad Town.
* Fix some indentation and dead assignments.nicm2019-05-12
|
* Adjust the same bit to adjust the selection for history-top andnicm2019-05-07
| | | | 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-03
| | | | | 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-01
|
* Add support for keys to jump between matching brackets - C-M-f and C-M-bnicm2019-04-29
| | | | | 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-25
| | | | and the cursor reaches the top or bottom line.
* Add -no-clear variants of copy-selection and copy-pipe which do notnicm2019-04-23
| | | | | 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-02
| | | | allows buffers for different sessions to be named separately.
* Fix stop-selection, from Avi Halachmi.nicm2019-03-27
|
* Break copy mode commands into individual functions instead of a big loadnicm2019-03-26
| | | | of if statements.
* DECRC and DECSC apparently need to preserve origin mode as well, basednicm2019-03-12
| | | | on a fix from Marc Reisner.
* Allow multiple modes to be open in a pane. A stack of open modes is keptnicm2019-03-12
| | | | | | 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-08
| | | | | 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-08
|
* Add a separate mode struct for the active window mode if any.nicm2019-03-07
|
* Tidy changing the mode into window_copy_init_for_output.nicm2019-03-07
|
* Make adding mode formats a function pointer as well.nicm2019-03-07
|
* Pass window into mode functions.nicm2018-12-18
|
* Handle UTF-8 in word-separators option, GitHub issue 1551.nicm2018-11-28
|
* It isn't possible to specify buffer name to copy mode commands now, sonicm2018-11-08
| | | | remove the function argument.
* Do not move the cursor when the mouse wheel is used, GitHub issue 1493.nicm2018-10-03
|
* Allow panes to be 1 line or column by redrawing instead of using thenicm2018-09-25
| | | | scroll region, from Soeren Tempel in GitHub issue 1487.
* Do not clear selection when searching.nicm2018-09-10
|
* Allow a large line number to go to the end with goto-line, from Marknicm2018-09-03
| | | | Kelly in GitHub issue 1460.
* Fix selection test, from Takeshi Banse.nicm2018-09-03
|
* Reset line flag when clearing selection, GitHub issue 1454.nicm2018-08-29
|
* Move job struct into job.c.nicm2018-08-23
|
* Fix problems with page scrolling in copy mode, GitHub issue 1440 fromnicm2018-08-20
| | | | Amos Bird.
* calloc the mode data instead of malloc and initialize everything.nicm2018-08-05
|
* Initialize new lineflag member.nicm2018-08-01
|