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

keybindings should not work in normal mode by default #575

Closed
seanmcbreen opened this issue Nov 24, 2015 · 3 comments
Closed

keybindings should not work in normal mode by default #575

seanmcbreen opened this issue Nov 24, 2015 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality verified Verification succeeded VIM VIM issue
Milestone

Comments

@seanmcbreen
Copy link

From @guillermooo on November 8, 2015 13:4

For Vim emulation, there needs to be a way to capture key strokes and suppress them before they are inserted in the buffer. That is, normal mode in Vim.

In other editors, it's a problem that all key bindings work by default in normal mode. Because plugins are loaded alphabetically, there is then a chance that the plugin to load last may override Vim key bindings, even though that plugin isn't interested in normal mode at all and/or doesn't even work when the editor is in normal mode.

When VS Code enables a variant of normal mode (when? :-)), I think it'd be best if key bindings had to opt-in explicitly to normal mode.

Copied from original issue: Microsoft/vscode-extensionbuilders#83

@seanmcbreen
Copy link
Author

Adding @alexandrudima to this thread as our Key Bindings guru.

@bgourlie
Copy link

When VS Code enables a variant of normal mode

Are there plans to make VS Code a moda editor? I assume the comment was just being hopeful, but that would be nice.

In any event, I would switch from vim to VS Code in a heartbeat if it had halfway decent vim emulation. I've already started scouring the extension API and came across this ticket when wondering myself how one would implement normal mode (or any non-insert mode, really). I've submitted a somewhat related ticket here.

Another thing I would love to see is a way to alter keybindings for some of the built-in widgets, like the command palette and intellisense lists. In particular, I'd like to be able to configure them to use J and K for moving up and down (or Command-K/J if an autocomplete list). There is a ton of opportunity to make VS Code an amazing editor for those of us who can't live without modal editing.

@alexdima alexdima added the feature-request Request for new features or functionality label Nov 25, 2015
@egamma egamma mentioned this issue Dec 3, 2015
34 tasks
@egamma egamma modified the milestone: Backlog Dec 10, 2015
@alexdima alexdima added the VIM VIM issue label Dec 10, 2015
@egamma egamma mentioned this issue Jan 6, 2016
59 tasks
@alexdima
Copy link
Member

Please see https://github.com/alexandrudima/vscode-vim if you are authoring a vim emulation extension for VS Code

@alexdima alexdima modified the milestones: March 2016, Backlog Mar 12, 2016
@alexdima alexdima added the verified Verification succeeded label Mar 21, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality verified Verification succeeded VIM VIM issue
Projects
None yet
Development

No branches or pull requests

4 participants