Removes V command until I can get it to not segfault or behave weirdly
This commit is contained in:
parent
b05044b215
commit
324bf5153c
8
hermes.c
8
hermes.c
|
@ -1433,14 +1433,6 @@ void editorCommandKp(int c) {
|
||||||
E.mode = VisualMode;
|
E.mode = VisualMode;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'V':
|
|
||||||
if (E.mode == CommandMode) {
|
|
||||||
E.vx = E.row[E.cy].size - 1;
|
|
||||||
E.vy = E.cy;
|
|
||||||
E.cx = 0;
|
|
||||||
E.mode = VisualMode;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'y':
|
case 'y':
|
||||||
if (E.mode == VisualMode) {
|
if (E.mode == VisualMode) {
|
||||||
editorCopyRange(E.cx, E.cy, E.vx, E.vy);
|
editorCopyRange(E.cx, E.cy, E.vx, E.vy);
|
||||||
|
|
Loading…
Reference in New Issue