summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
AgeCommit message (Expand)Author
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
2009-10-06Make C-Up and C-Down in copy mode scroll the screen up and down one lineNicholas Marriott
2009-09-10Permit options such as status-bg to be configured using the entire 256 colourNicholas Marriott
2009-09-07Give each paste buffer a size member instead of requiring them to beNicholas Marriott
2009-08-21When moving up or down in copy mode, save the cursor position and size of theNicholas Marriott
2009-08-19Don't read beyond the edge of the screen when searching (dies with debugNicholas Marriott
2009-08-18Nuke unnecessary assignment.Nicholas Marriott
2009-08-18Add a "delete line" key when editing in the status line or the search up/downNicholas Marriott
2009-08-18Add (naive) searching and goto line in copy mode. Searching is C-r and C-s withNicholas Marriott
2009-08-13vi(1)-style half page scroll in copy and scroll modes. Move the vi full pageNicholas Marriott
2009-08-13Scroll by two less than the number of lines in the screen, like emacs, ratherNicholas Marriott
2009-08-13Allowing copy mode to scroll left and right is annoying, so limit it to theNicholas Marriott
2009-08-13Redraw the screen after resizing.Nicholas Marriott
2009-08-08Add a flags member to the grid_line struct and use it to differentiate linesNicholas Marriott
2009-08-08Change the way the grid is stored, previously it was:Nicholas Marriott
2009-08-05If colours are not supported by the terminal, try to emulate a colouredNicholas Marriott
2009-07-30Add a mode-mouse option to prevent tmux taking over the mouse in choice or copyNicholas Marriott
2009-07-28Next step towards customisable mode keys: build each default table of keys intoNicholas Marriott
2009-07-27Remove an unused entry in the mode keys command enum and renameNicholas Marriott
2009-07-27Change mode key bindings from big switches into a set of tables. Rather thanNicholas Marriott
2009-07-27Get rid of empty mode_key_free function.Nicholas Marriott
2009-07-27Change previous-word behavior to move to the beginning of the word (matchesNicholas Marriott
2009-07-23Redraw after starting selection to correctly remove any existing selection.Nicholas Marriott
2009-07-12Add a "back to indentation" key in copy mode to move the cursor to the firstNicholas Marriott
2009-07-12Merge three copies of identical code to move the cursor x position into aNicholas Marriott
2009-07-11Copy was using the real line length which after resize can be larger than theNicholas Marriott
2009-07-09Stop in the right place so all the lines selected are copied. Reported by KalleNicholas Marriott
2009-07-02Fix two copy/paste bugs: forbid zero-length buffers to prevent a fatal errorNicholas Marriott
2009-06-01Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott