| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
matches screen's behaviour if not its termcap/terminfo entry). The terminfo kbs
cap is often wrong or missing so it can't be used, and just assuming \177 may
be wrong.
|
| | |
|
| |
| |
| |
| | |
wrap flag sets/clears/tests.
|
| |
| |
| |
| |
| | |
non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks.
|
|
|
|
|
|
|
| |
terminal to be switched between several different windows and programs
displayed on one terminal be detached from one terminal and moved to another.
ok deraadt pirofti
|
|
|
|
|
|
|
|
| |
Instead of requiring a prompt to enter all numbers >10, go back to
0-9a-z and add A-Z and enter the prompt when M-0 to M-9 are pressed
(like in copy mode). Prompted by request from mcbride@, help from Thomas
Adam.
|
|
|
|
|
|
|
| |
Instead of numbering choose mode items 0-9a-z and then nothing, number
them all and if there are more than 10 use a prompt when 0-9 is
pressed. From Thomas Adam.
|
|
|
|
|
| |
Add A and I keys for vi status line editing.
|
|
|
|
|
| |
Use RB trees not SPLAY.
|
|
|
|
|
| |
Add space movement keys for vi mode in the status line from Ben Boeckel.
|
|
|
|
|
|
|
|
| |
Support "jump to" like vi in copy mode using t and T keys. Also add x
and X for delete in edit mode.
From Ben Boeckel, thanks.
|
|
|
|
|
| |
Add home and end keys for command prompt, from Matthias Lederhofer.
|
|
|
|
|
|
| |
Add word movement and editing command for command prompt editing, from
Ben Boeckel.
|
|
|
|
|
|
| |
Add up/down/left/right keys in vi edit mode. From "livibetter" SF bug
3385651.
|
| |
|
|
|
|
|
|
| |
Add three new copy-mode commands - select-line, copy-line,
copy-end-of-line. From Dave Disser and Randy Stauner a while back.
|
|
|
|
|
|
|
|
|
|
| |
|Date: 2011/04/05 19:55:38
|Author: nicm
|Branch: HEAD
|Tag: (none)
|Log:
|Bind C-u to delete-line in vi mode like ksh does, suggested by thib.
|
|
|
|
|
| |
Sprinkle a little more const.
|
| |
|
|
|
|
|
|
|
|
| |
Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode.
From Micah Cowan, tweaked a little by me.
|
|
|
|
|
|
| |
Add "N" key to search the opposite way from the last search (reverse of "n"),
from Micah Cowan.
|
|
|
|
|
| |
Rectangle copy support, from Robin Lee Powell.
|
|
|
|
|
|
|
|
|
| |
vi-style B, W and E keys in copy mode to navigate between words treating only
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
|
|
|
|
|
| |
Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.
|
|
|
|
|
| |
Actually bind the new key to e.
|
|
|
|
|
|
| |
Alter next-word to have vi-like movement behaviour, and add next-word-end with
the existing emacs behaviour. From Micah Cowan.
|
|
|
|
|
| |
Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.
|
|
|
|
|
| |
Use C-e and C-y for scrolling in vi mode, from Micah Cowan.
|
|
|
|
|
|
|
| |
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
|
|
|
|
|
| |
Zap unused functions, prompted by deraadt.
|
|
|
|
|
|
| |
Add mode keys to move the cursor to the top, middle and bottom of the screen.
H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
|
|
|
|
|
|
| |
Support J and K for scroll up and scroll down in copy mode with vi keys,
suggested by martynas.
|
|
|
|
|
|
|
| |
Make C-Up and C-Down in copy mode scroll the screen up and down one line
without moving the cursor, like Up and Down in scroll mode (which will shortly
disappear).
|
|
|
|
|
|
| |
Get / and ? the right way round in vi mode, and use : for goto line rather than
g.
|
|
|
|
|
| |
C-v and M-v too.
|
|
|
|
|
| |
Support C-n/C-p with emacs keys in choice mode, also fix a comment.
|
|
|
|
|
|
| |
Add a transpose-chars command in edit mode (C-t in emacs mode only). From Kalle
Olavi Niemitalo.
|
|
|
|
|
|
| |
Add a "delete line" key when editing in the status line or the search up/down
prompt. C-u with emacs keys, d with vi.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add (naive) searching and goto line in copy mode. Searching is C-r and C-s with
emacs keys, / and ? with vi; n repeats the search again with either key
set. All searching wraps the top/bottom. Goto line is g for both emacs and vi.
The search prompts don't have full line editing, just simple append and delete
characters.
Also sort the mode keys list in tmux.1.
|
|
|
|
|
|
|
|
|
| |
Switch the prompt code to return an empty string when the user enters no
response and reserve NULL for an explicit cancel. Change all callbacks to treat
them the same so no functional change.
Also add cancel key bindings to emacs mode which were missing.
|
|
|
|
|
|
|
|
|
| |
vi(1)-style half page scroll in copy and scroll modes. Move the vi full page
scroll key to C-b instead of C-u and use C-u/C-d for half page scrolling with
vi keys. In emacs mode, half page scrolling is bound to M-Up and M-Down.
Suggested by merdely (about a year ago :-)).
|
|
|
|
|
| |
Plug some memory leaks.
|
|
|
|
|
|
| |
Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t
argument to modify a table.
|
|
|
|
|
|
|
|
| |
Next step towards customisable mode keys: build each default table of keys
into a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the mode key bindings (new
-t argument).
|
|
|
|
|
|
| |
Remove an unused entry in the mode keys command enum and rename
MODEKEYCOPY_QUIT to _CANCEL to match the others.
|
|
|
|
|
|
|
|
|
| |
Change mode key bindings from big switches into a set of tables. Rather than
lumping them all together, split editing keys from those used in choice/more
mode and those for copy/scroll mode.
Tidier and clearer, and the first step towards customisable mode keys.
|
|
|
|
|
| |
Get rid of empty mode_key_free function.
|
|
|
|
|
|
|
|
| |
Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in
vi).
From Kalle Olavi Niemitalo.
|
|
|
|
|
|
|
|
| |
Detect backspace by looking at termios VERASE and translate it into \177
(which matches screen's behaviour if not its termcap/terminfo entry). The
terminfo kbs cap is often wrong or missing so it can't be used, and just
assuming \177 may be wrong.
|
|
|
|
|
| |
C-d is delete as well in emacs mode.
|