^ for BOL too.

This commit is contained in:
Nicholas Marriott 2008-07-02 21:25:58 +00:00
parent 892d1b534e
commit 399e352095
2 changed files with 3 additions and 1 deletions

1
TODO
View File

@ -69,3 +69,4 @@
have a "edit-mode" option select which keymap have a "edit-mode" option select which keymap
- many more info displays for various things - many more info displays for various things
- document mode-keys - document mode-keys
- vi half page scroll

View File

@ -1,4 +1,4 @@
/* $Id: mode-key.c,v 1.1 2008-07-02 21:22:57 nicm Exp $ */ /* $Id: mode-key.c,v 1.2 2008-07-02 21:25:58 nicm Exp $ */
/* /*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@ -27,6 +27,7 @@ struct mode_key_entry {
const struct mode_key_entry mode_key_table_vi[] = { const struct mode_key_entry mode_key_table_vi[] = {
{ MODEKEY_BOL, '0' }, { MODEKEY_BOL, '0' },
{ MODEKEY_BOL, '^' },
{ MODEKEY_CLEARSEL, '\033' }, { MODEKEY_CLEARSEL, '\033' },
{ MODEKEY_COPYSEL, '\r' }, { MODEKEY_COPYSEL, '\r' },
{ MODEKEY_DOWN, 'j' }, { MODEKEY_DOWN, 'j' },