You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Vim editor mode: add visual mode (v/V) for selecting and deleting text #5477
Follow-up to #13, which was closed after vim mode shipped (/settings editorMode vim), but visual mode is still missing. I asked about it there and got no response.
Problem
Normal and insert modes work, but pressing v in normal mode does nothing, so there is no way to select text. For example, this sequence doesn't work:
ESC -> b -> v -> w -> d
This makes the vim mode close to unusable for me. Selecting a chunk of the prompt and deleting or changing it is one of the main reasons to use vim mode, and Claude Code supports it.
Requested behaviour
v enters characterwise visual mode, and V enters linewise visual mode.
Motions (w, b, e, 0, $, h/j/k/l) extend the selection, with the selection visibly highlighted.
Operators d, c, y act on the selection, and ESC leaves visual mode.
Version
Tested on 1.0.84 and later with editorMode set to vim.
Activity