VSCodeVim/Vim

Editor cursor should disappear in command-line mode

Open

#2,945 opened on 2018年8月8日

GitHub で見る
 (0 comments) (2 reactions) (0 assignees)TypeScript (12,664 stars) (1,271 forks)batch import
area/commandlinehelp wantedkind/enhancement

説明

Describe the bug So this is somewhere between a bug and a feature request. I'm considering it a bug based on the fact that the behavior in the title is the vim behavior.

Vim, being terminal-based, only has one cursor. When you enter command-line mode in vim (by typing a colon ':', slash, '/', or question mark '?'), the cursor jumps to the bottom line of the window where commands, searches, or filters can be entered.

In vscode, with the vim plugin, when you enter any of these modes, a small cursor appears in the status line at the bottom, but the cursor in the editor also remains. The cursor in the editor should disappear while the command line has keyboard focus.

As a long time vim user, I found that I was often becoming confused over whether or not I was in command line mode but didn't actually realize why until just today: the blinking cursor in the editor.

To Reproduce Steps to reproduce the behavior:

  1. Open an editor window
  2. Enter ':', '/', or '?' to enter command-line mode
  3. The cursor continues to casually hang around in the editor window

Expected behavior After step #2 above, the cursor should disappear until command-line mode is exited.

Screenshots image

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 0.15.7
  • VSCode version: 1.24.1
  • OS: Xubuntu 18.04

コントリビューターガイド