[FEATURE] support for visual mode in vim mode

Status Fixed / completed
Maintainer reply ✓ Yes — claude[bot]
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 v you enter visual mode
  • When typing V you enter visual mode and select the current line
  • When entering, you see VISUAL indicating 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

View original on GitHub ↗

6 Comments

github-actions[bot] · 5 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/2442

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

davidgm0 · 5 months ago
Found 1 possible duplicate issue: 1. Feature request: support for visual mode in vim mode #2442 This issue will be automatically closed as a duplicate in 3 days. If your issue is a duplicate, please close it and 👍 the existing issue instead To prevent auto-closure, add a comment or 👎 this comment 🤖 Generated with Claude Code

That one got closed with no answer

Lision · 5 months ago

``` shell
echo $EDITOR

if not vim

echo 'export EDITOR=vim' >> ~/.zshrc
source ~/.zshrc


open claude-open
ctrl+x & ctrl+e
Sherlockedb · 4 months ago
> Found 1 possible duplicate issue: > > 1. Feature request: support for visual mode in vim mode #2442 > > This issue will be automatically closed as a duplicate in 3 days. > > If your issue is a duplicate, please close it and 👍 the existing issue instead > To prevent auto-closure, add a comment or 👎 this comment > > 🤖 Generated with Claude Code That one got closed with no answer

The external editor workaround clears the terminal display, losing conversation context.

claude[bot] contributor · 4 months ago

This issue was fixed as of version 2.1.118.

github-actions[bot] · 4 months ago

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.