projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c41fef7
)
Don't apply CTRL-V to pass through mode.
author
Daniel Carl
<danielcarl@gmx.de>
Fri, 29 Aug 2014 18:05:31 +0000
(20:05 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Fri, 29 Aug 2014 18:05:31 +0000
(20:05 +0200)
It make no sense to pas through only the next char is we are already in pass
through mode.
src/mode.c
patch
|
blob
|
history
diff --git
a/src/mode.c
b/src/mode.c
index
bb1af1d
..
8bf4695
100644
(file)
--- a/
src/mode.c
+++ b/
src/mode.c
@@
-130,7
+130,7
@@
VbResult mode_handle_key(int key)
return RESULT_COMPLETE;
}
- if (key == CTRL('V')) {
+ if (
vb.mode->id != 'p' &&
key == CTRL('V')) {
vb.mode->flags |= FLAG_NOMAP;
ctrl_v = true;
normal_showcmd(key);