Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
When vim mode is enabled in Cursor CLI, there are two issues:
1. Emacs keybindings are not fully disabled when vim mode is active
After enabling vim keybindings in the terminal, Ctrl-A still behaves as the Emacs “move to beginning of line” instead of being overridden by vim’s behavior.
Expected: When vim mode is enabled, Emacs-style keybindings like Ctrl-A should be disabled or remapped to vim semantics (e.g., Ctrl-A should increment a number in normal mode, per standard vim behavior).
Actual: Ctrl-A moves the cursor to the beginning of the line (Emacs behavior), even when vim mode is active.
2. cc (change entire line) does not work
In vim normal mode, cc should delete the current line’s content and enter insert mode. This is a fundamental vim command.
Expected: cc clears the current line and enters insert mode.
Actual: cc does nothing or behaves incorrectly.
Steps to Reproduce
- Open Cursor integrated terminal
- Enable vim keybindings in the shell
- Type some text, then press
Escapeto enter normal mode - Press
Ctrl-A→ cursor jumps to beginning of line (Emacs behavior leaks through) - Press
cc→ line is NOT cleared and insert mode is NOT entered
Operating System
Linux (Ubuntu 20.04 LTS)
Version Information
Cursor 2.4.7
Does this stop you from using Cursor
No - Cursor works, but with this issue