Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exiting CommandMode should mimic Vim behavior #3035

Closed
mxlian opened this issue Sep 10, 2018 · 0 comments · Fixed by #3036
Closed

Exiting CommandMode should mimic Vim behavior #3035

mxlian opened this issue Sep 10, 2018 · 0 comments · Fixed by #3036
Labels

Comments

@mxlian
Copy link
Contributor

mxlian commented Sep 10, 2018

When in Command Mode (:) you can exit to Normal mode with <Esc> & <C-[> wich are identical. Also <C-c> (which is conceptually different) aborts Command Mode and takes you to Normal Mode.
This exit key bindings are out-of-the-box in vim.

Proposed Solution:
As discussed in the slack channel with @shawnaxsom we need to add <C-c> and <C-[> to actions.ts, as alternatives to exit Command Mode

mxlian added a commit to mxlian/Vim that referenced this issue Sep 10, 2018
This fixes VSCodeVim#3035, adding the missing key bindings to exit CommandMode:
* <C-[>  which is the same as <Esc>
* <C-c>
jpoon added a commit that referenced this issue Sep 21, 2018
Fix: Missing bindings to exit CommandMode. closes #3035
@jpoon jpoon added the kind/bug label Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants