From: nicm Date: Wed, 5 Apr 2017 12:14:18 +0000 (+0000) Subject: Add Home and End for copy mode. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a250e9a5ff8fcb8aca5e6c532de1f75f5878adb2;p=openbsd Add Home and End for copy mode. --- diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index 62c8b5588d2..206665ceb73 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.73 2017/02/06 15:00:41 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.74 2017/04/05 12:14:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -260,6 +260,8 @@ key_bindings_init(void) "bind -Tcopy-mode n send -X search-again", "bind -Tcopy-mode q send -X cancel", "bind -Tcopy-mode t command-prompt -1p'jump to forward' 'send -X jump-to-forward \"%%%\"'", + "bind -Tcopy-mode Home send -X start-of-line", + "bind -Tcopy-mode End send -X end-of-line", "bind -Tcopy-mode MouseDown1Pane select-pane", "bind -Tcopy-mode MouseDrag1Pane select-pane\\; send -X begin-selection", "bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-and-cancel",