summaryrefslogtreecommitdiffstats
path: root/window-copy.c
AgeCommit message (Expand)Author
2012-03-17Add a wrap-search option to turn off wrapping of searches in copyNicholas Marriott
2012-03-11Always remember last cursor position when moving up or down, not justNicholas Marriott
2011-12-04Support "jump to" like vi in copy mode using t and T keys. Also add xNicholas Marriott
2011-11-15Move word-separators to be a session rather than window option, from BenNicholas Marriott
2011-10-23When copying, make repeat count indicate buffer to replace if used.Nicholas Marriott
2011-06-27PANE_FREEZE doesn't do anything anymore, so remove it.Nicholas Marriott
2011-05-18Support setting the xterm clipboard when copying from copy mode usingNicholas Marriott
2011-05-18Add three new copy-mode commands - select-line, copy-line,Nicholas Marriott
2011-05-18Use button mouse mode not any for copy mode, fixes issues withNicholas Marriott
2011-04-24Tweak copy behaviour slightly in vi mode to be closer to real vi. FromNicholas Marriott
2011-04-19When mode-mouse is on (it is off by default), automatically enter copyNicholas Marriott
2011-03-28Style: uint -> u_int and a missing else.Nicholas Marriott
2010-12-30Change from a per-session stack of buffers to one global stack which isNicholas Marriott
2010-12-29Support all four of the xterm mouse modes. Based on a diff from hsim atNicholas Marriott
2010-12-11Fix rectangle copy to behave like emacs - the cursor is not part of theNicholas Marriott
2010-09-11When resizing the copy mode screen, don't allow it to end up with theNicholas Marriott
2010-09-08Do not crash if the screen size is too small for the indicator in copy mode.Nicholas Marriott
2010-07-22Fix a crash: if remain-on-exit is set and the pane has exited, theNicholas Marriott
2010-06-29replace some magic mouse constants with defines for clarity. ok nicmTed Unangst
2010-06-06Use a macro-based mask for obtaining a key or modifier-set from theNicholas Marriott
2010-06-05Make start-of-line work the same as end-of-line on wrapped lines (jumpNicholas Marriott
2010-05-31When the mode-mouse option is on, support dragging to make a selectionNicholas Marriott
2010-05-23Pass in the session, rather than the client, to window modes' key()Nicholas Marriott
2010-04-28Fix crash when resizing in copy mode, when cursor can end up outside screen.Nicholas Marriott
2010-04-06Merge copy mode and output mode, dropping the latter. Idea and code fromNicholas Marriott
2010-03-22paste-buffer should be per pane, from C. Coutinho.Nicholas Marriott
2010-03-22Add vi-style "jump" commands for copy mode, from Micah Cowan.Nicholas Marriott
2010-03-14Fix a use-after-free when cancelling copy mode, or trying to repeat cancel.Nicholas Marriott
2010-03-02Permit keys in copy mode to be prefixed by a repeat count, entered withNicholas Marriott
2010-03-01Extend the end-of-line key so that in normal mode a second press movesNicholas Marriott
2010-02-22Option to set the characters considered word separators in copy mode, fromNicholas Marriott
2010-02-22Another copy mode fix from Micah Cowan: in rectangle copy mode, the cursorNicholas Marriott
2010-02-19copy mode uses the real screen as backing and if it is updated while copying,Nicholas Marriott
2010-02-17Make next-word stop at beginning of word even if it is at the start of theNicholas Marriott
2010-02-17Don't strip add newline if only copying part of wrapped line. Problem spottedNicholas Marriott
2010-02-11Add "N" key to search the opposite way from the last search (reverse of "n"),Nicholas Marriott
2010-02-06Rectangle copy support, from Robin Lee Powell.Nicholas Marriott
2010-02-04vi-style B, W and E keys in copy mode to navigate between words treating onlyNicholas Marriott
2010-01-27Alter next-word to have vi-like movement behaviour, and add next-word-end withNicholas Marriott
2010-01-25Hugely simplify window_copy_cursor_next_word, which was way overcomplicated.Nicholas Marriott
2010-01-25Update the selection properly after goto line or searching.Nicholas Marriott
2010-01-25Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.Nicholas Marriott
2010-01-24Redraw properly when scrolling backward and the cursor is on the lastNicholas Marriott
2009-12-03Massive spaces->tabs and trailing whitespace cleanup, hopefully for the lastNicholas Marriott
2009-11-26Remove a couple of unused arguments where possible, and add /* ARGSUSED */ toNicholas Marriott
2009-11-18Missed an unused variable :-/.Nicholas Marriott
2009-11-18Cleanup by moving various (mostly horrible) little bits handling UTF-8 gridNicholas Marriott
2009-10-20Correctly nuke the EOL $ marker when scrolling, reported by martynas@, thanks.Nicholas Marriott
2009-10-13Add mode keys to move the cursor to the top, middle and bottom of the screen.Nicholas Marriott
2009-10-11Clean up by introducing a wrapper struct for mouse clicks rather than passingNicholas Marriott