diff --git a/TODO b/TODO index 7e73d292..338d50d3 100644 --- a/TODO +++ b/TODO @@ -69,3 +69,4 @@ have a "edit-mode" option select which keymap - many more info displays for various things - document mode-keys +- vi half page scroll diff --git a/mode-key.c b/mode-key.c index cf5cb107..9acd6d1d 100644 --- a/mode-key.c +++ b/mode-key.c @@ -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 @@ -27,6 +27,7 @@ struct mode_key_entry { const struct mode_key_entry mode_key_table_vi[] = { { MODEKEY_BOL, '0' }, + { MODEKEY_BOL, '^' }, { MODEKEY_CLEARSEL, '\033' }, { MODEKEY_COPYSEL, '\r' }, { MODEKEY_DOWN, 'j' },