diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 18:50:35 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 18:50:35 +0000 |
commit | 39be570b2079c38609ae6cc6c6e2bf937649d481 (patch) | |
tree | 99daaadf37fecb72bde436e591dd0eaa91cdeed9 /window-copy.c | |
parent | 04c60283c42618f8f97e49452e1022908b4ec5e6 (diff) |
vi keys from Will Maier.
Diffstat (limited to 'window-copy.c')
-rw-r--r-- | window-copy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/window-copy.c b/window-copy.c index 2129f1c1..ddfa9239 100644 --- a/window-copy.c +++ b/window-copy.c @@ -1,4 +1,4 @@ -/* $Id: window-copy.c,v 1.16 2008-06-03 21:42:37 nicm Exp $ */ +/* $Id: window-copy.c,v 1.17 2008-06-04 18:50:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -184,9 +184,11 @@ window_copy_key(struct window *w, int key) window_copy_copy_selection(w); window_reset_mode(w); break; + case '0': case '\001': /* C-a */ window_copy_cursor_start_of_line(w); break; + case '$': case '\005': /* C-e */ window_copy_cursor_end_of_line(w); break; |