[FEATURE] support for visual mode in vim mode
Status Fixed / completed
Maintainer reply ✓ Yes — claude[bot]
Workaround ✓ Mentioned in thread ↓
Activity 6 comments · opened Mar 25, 2026 · closed Apr 23, 2026
💡 Likely answer: A maintainer (claude[bot], contributor)
responded on this thread — see the highlighted reply below.
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Currently you can enable vim mode which provides basic vim functionality: normal and insert mode. Having visual mode supported to select chunks of text would be extremely useful for people whose workflow is pretty vim motions oriented.
Proposed Solution
Visual mode is implement and behaves like vim:
- When typing
vyou enter visual mode - When typing
Vyou enter visual mode and select the current line - When entering, you see
VISUALindicating your mode - When moving while in visual move, the selected text gets highlighted
- ...
If the cursor would change in different vim modes, it would be great https://github.com/anthropics/claude-code/issues/32469
Alternative Solutions
_No response_
Priority
Low - Nice to have
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
Taken from https://github.com/anthropics/claude-code/issues/2442, which was closed automatically and locked without answer
6 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
That one got closed with no answer
``` shell
echo $EDITOR
if not vim
echo 'export EDITOR=vim' >> ~/.zshrc
source ~/.zshrc
The external editor workaround clears the terminal display, losing conversation context.
This issue was fixed as of version 2.1.118.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.