Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						0ac6efa6d5 
					 
					
						
						
							
							Add vi-style "jump" commands for copy mode, from Micah Cowan.  
						
						
						
						
					 
					
						2010-03-22 19:10:42 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						7bc3f5dd8a 
					 
					
						
						
							
							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. 
						
						
					 
					
						2010-03-02 00:32:41 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						44ded35d5d 
					 
					
						
						
							
							Add "N" key to search the opposite way from the last search (reverse of "n"),  
						
						... 
						
						
						
						from Micah Cowan. 
						
						
					 
					
						2010-02-11 20:39:40 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						3ef3802629 
					 
					
						
						
							
							Rectangle copy support, from Robin Lee Powell.  
						
						
						
						
					 
					
						2010-02-06 17:35:01 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						5e6a7c85cc 
					 
					
						
						
							
							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. 
						
						
					 
					
						2010-02-04 20:00:26 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						06ce9da32a 
					 
					
						
						
							
							Add scroll-up/scroll-down for choose/more mode, from Micah Cowan.  
						
						
						
						
					 
					
						2010-02-01 22:15:51 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						f941879c15 
					 
					
						
						
							
							Actually bind the new key to e.  
						
						
						
						
					 
					
						2010-01-27 23:26:14 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						3e2cc2d2c4 
					 
					
						
						
							
							Alter next-word to have vi-like movement behaviour, and add next-word-end with  
						
						... 
						
						
						
						the existing emacs behaviour. From Micah Cowan. 
						
						
					 
					
						2010-01-27 20:18:52 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						1e5a94fdb5 
					 
					
						
						
							
							Top/bottom of history mode keys, diff from Micah Cowan, tweaked by me.  
						
						
						
						
					 
					
						2010-01-25 21:33:39 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						8865eb2866 
					 
					
						
						
							
							Use C-e and C-y for scrolling in vi mode, from Micah Cowan.  
						
						
						
						
					 
					
						2010-01-23 17:49:21 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						15a64b805e 
					 
					
						
						
							
							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... 
						
						
					 
					
						2009-12-03 22:50:09 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						5d397462e4 
					 
					
						
						
							
							Zap unused functions, prompted by deraadt.  
						
						
						
						
					 
					
						2009-11-13 07:00:54 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						38df960e68 
					 
					
						
						
							
							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). 
						
						
					 
					
						2009-10-13 13:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						2cb2bb8257 
					 
					
						
						
							
							Support J and K for scroll up and scroll down in copy mode with vi keys,  
						
						... 
						
						
						
						suggested by martynas. 
						
						
					 
					
						2009-10-07 15:58:40 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						9400fdac77 
					 
					
						
						
							
							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). 
						
						
					 
					
						2009-10-06 07:09:00 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						d42b86d22b 
					 
					
						
						
							
							Get / and ? the right way round in vi mode, and use : for goto line rather than  
						
						... 
						
						
						
						g. 
						
						
					 
					
						2009-10-04 11:18:26 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						97ca5711f9 
					 
					
						
						
							
							C-v and M-v too.  
						
						
						
						
					 
					
						2009-10-04 08:26:41 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						123ae9e103 
					 
					
						
						
							
							Support C-n/C-p with emacs keys in choice mode, also fix a comment.  
						
						
						
						
					 
					
						2009-10-04 08:23:01 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						61b7dc522d 
					 
					
						
						
							
							Add a transpose-chars command in edit mode (C-t in emacs mode only). From Kalle  
						
						... 
						
						
						
						Olavi Niemitalo. 
						
						
					 
					
						2009-09-02 06:33:20 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						feaf91ab93 
					 
					
						
						
							
							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. 
						
						
					 
					
						2009-08-18 07:23:43 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						c828c2f366 
					 
					
						
						
							
							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. 
						
						
					 
					
						2009-08-18 07:08:26 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						09cbd0c695 
					 
					
						
						
							
							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. 
						
						
					 
					
						2009-08-13 23:44:18 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						7a359c00ac 
					 
					
						
						
							
							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 :-)). 
						
						
					 
					
						2009-08-13 22:32:18 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						97f105cde2 
					 
					
						
						
							
							Plug some memory leaks.  
						
						
						
						
					 
					
						2009-07-30 20:41:48 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						f596be9950 
					 
					
						
						
							
							Final pieces of mode key rebinding: bind-key and unbind-key now accept a -t  
						
						... 
						
						
						
						argument to modify a table. 
						
						
					 
					
						2009-07-28 17:05:10 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						86785004ba 
					 
					
						
						
							
							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 the mode key bindings (new
-t argument). 
						
						
					 
					
						2009-07-28 07:03:32 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						309b76fb32 
					 
					
						
						
							
							Remove an unused entry in the mode keys command enum and rename  
						
						... 
						
						
						
						MODEKEYCOPY_QUIT to _CANCEL to match the others. 
						
						
					 
					
						2009-07-27 20:36:13 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						d95274c5f2 
					 
					
						
						
							
							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. 
						
						
					 
					
						2009-07-27 19:29:35 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						13e29dd7b5 
					 
					
						
						
							
							Get rid of empty mode_key_free function.  
						
						
						
						
					 
					
						2009-07-27 18:51:46 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						ad0aad21d5 
					 
					
						
						
							
							Add a key to delete to end of line at the prompt (^K in emacs mode, C/D in vi).  
						
						... 
						
						
						
						From Kalle Olavi Niemitalo. 
						
						
					 
					
						2009-07-27 12:11:11 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						639fbe0392 
					 
					
						
						
							
							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. 
						
						
					 
					
						2009-07-26 21:42:08 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						e0d1954840 
					 
					
						
						
							
							C-d is delete as well in emacs mode.  
						
						
						
						
					 
					
						2009-07-23 13:44:02 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						725938fb85 
					 
					
						
						
							
							Tidy up keys: use an enum for the key codes, and remove the macros which just  
						
						... 
						
						
						
						wrap flag sets/clears/tests. 
						
						
					 
					
						2009-07-21 17:57:29 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						22d51ec1ea 
					 
					
						
						
							
							Add a "back to indentation" key in copy mode to move the cursor to the first  
						
						... 
						
						
						
						non-whitespace character. ^ with vi and M-m with emacs key bindings. Another
from Kalle Olavi Niemitalo, thanks. 
						
						
					 
					
						2009-07-12 16:15:34 +00:00 
						 
				 
			
				
					
						
							
							
								Nicholas Marriott 
							
						 
					 
					
						
						
							
						
						35876eaab9 
					 
					
						
						
							
							Import tmux, a terminal multiplexor allowing (among other things) a single  
						
						... 
						
						
						
						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 
						
						
					 
					
						2009-06-01 22:58:49 +00:00