aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-10 18:01:05 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-10 18:01:05 +0200
commit5fbe797b8aa50c434634da30bad1ad67f2ef98fb (patch)
treea6b7bf69d7a4b13a6ba6bb922a6e3e8e9a441493 /config.def.h
parent0d448b0d2802a044a77f5546ecd98efb5045adca (diff)
downloadvis-5fbe797b8aa50c434634da30bad1ad67f2ef98fb.tar.gz
vis-5fbe797b8aa50c434634da30bad1ad67f2ef98fb.tar.xz
Add normal mode key binding for 'r'
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 57e076d..c704b2d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -336,6 +336,7 @@ static KeyBinding vis_normal[] = {
{ { NONE('n') }, movement, { .i = MOVE_SEARCH_FORWARD } },
{ { NONE('N') }, movement, { .i = MOVE_SEARCH_BACKWARD } },
{ { NONE('x') }, call, { .f = editor_delete_key } },
+ { { NONE('r') }, replace, { NULL } },
{ { NONE('i') }, switchmode, { .i = VIS_MODE_INSERT } },
{ { NONE('v') }, switchmode, { .i = VIS_MODE_VISUAL } },
{ { NONE('R') }, switchmode, { .i = VIS_MODE_REPLACE} },