diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-05 12:14:19 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-04-05 12:14:19 +0000 |
commit | f9bbb7cc5a06997baa3bc226b06b0dbe1494a0b6 (patch) | |
tree | d52ba53c89d93913be6132b9bab7c1f74791d9d5 /usr.bin | |
parent | 08aa78a595fe571d248000829d8ac7675607f5a9 (diff) |
Add Home and End for copy mode.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <nicholas.marriott@gmail.com> @@ -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", |