From 70fc0858628a430fb8c2a9415d63d192939cc5b7 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 20 Aug 2009 11:20:24 +0000 Subject: Sync OpenBSD patchset 264: 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. --- tmux.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 80d7dfb6..4b941567 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.420 2009-08-19 09:04:48 nicm Exp $ */ +/* $Id: tmux.h,v 1.421 2009-08-20 11:20:24 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -392,6 +392,7 @@ enum mode_key_cmd { MODEKEYCOPY_COPYSELECTION, MODEKEYCOPY_DOWN, MODEKEYCOPY_ENDOFLINE, + MODEKEYCOPY_GOTOLINE, MODEKEYCOPY_HALFPAGEDOWN, MODEKEYCOPY_HALFPAGEUP, MODEKEYCOPY_LEFT, @@ -400,6 +401,9 @@ enum mode_key_cmd { MODEKEYCOPY_PREVIOUSPAGE, MODEKEYCOPY_PREVIOUSWORD, MODEKEYCOPY_RIGHT, + MODEKEYCOPY_SEARCHAGAIN, + MODEKEYCOPY_SEARCHDOWN, + MODEKEYCOPY_SEARCHUP, MODEKEYCOPY_STARTOFLINE, MODEKEYCOPY_STARTSELECTION, MODEKEYCOPY_UP, -- cgit