diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-28 16:30:44 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-28 16:30:44 +0100 |
| commit | a649cfb83e65cb88111527b6fe92e92ecc38a71e (patch) | |
| tree | 7ff2cbf9fbc08988f8a66968bf7adffe64dd8671 /config.def.h | |
| parent | d0ed5fef6a4098a7991a7e6ab44076a423721212 (diff) | |
| download | vis-a649cfb83e65cb88111527b6fe92e92ecc38a71e.tar.gz vis-a649cfb83e65cb88111527b6fe92e92ecc38a71e.tar.xz | |
vis: implement nn%
Moves to the given percentage of the file in bytes (not lines).
This is useful when dealing with huge files because it is a constant
time operation. Performance could still be improved by adapting the
display code not to rely on line numbers at all.
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 30e17bb..47ed326 100644 --- a/config.def.h +++ b/config.def.h @@ -39,7 +39,7 @@ static const KeyBinding bindings_motions[] = { { "^", ACTION(CURSOR_LINE_START) }, { "g_", ACTION(CURSOR_LINE_FINISH) }, { "$", ACTION(CURSOR_LINE_LASTCHAR) }, - { "%", ACTION(CURSOR_BRACKET_MATCH) }, + { "%", ACTION(CURSOR_PERCENT) }, { "b", ACTION(CURSOR_WORD_START_PREV) }, { "B", ACTION(CURSOR_LONGWORD_START_PREV) }, { "w", ACTION(CURSOR_WORD_START_NEXT) }, |
