diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-07 14:08:06 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-07 14:08:06 +0200 |
| commit | 0ec4c6896358fa49364a9c2e11f982bd31f825d4 (patch) | |
| tree | d39be0f3ba34285b1e5b82dfee5617243f4b55ec /config.def.h | |
| parent | 5e39e55f075b5ca559cd02c03605ff763a8b6744 (diff) | |
| download | vis-0ec4c6896358fa49364a9c2e11f982bd31f825d4.tar.gz vis-0ec4c6896358fa49364a9c2e11f982bd31f825d4.tar.xz | |
Show cursor in visual mode
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 28153aa..aa079d7 100644 --- a/config.def.h +++ b/config.def.h @@ -469,6 +469,8 @@ static void vis_mode_visual_line_leave(Mode *new) { if (!new->visual) { window_selection_clear(vis->win->win); vis_modes[VIS_MODE_OPERATOR].parent = &vis_modes[VIS_MODE_MOVE]; + } else { + window_cursor_to(vis->win->win, window_cursor_get(vis->win->win)); } } |
