VSCodeVim/Vim

Expose mode toggling actions

Open

#2.681 aberto em 24 de mai. de 2018

Ver no GitHub
 (4 comments) (2 reactions) (0 assignees)TypeScript (1.271 forks)batch import
help wantedkind/feature

Métricas do repositório

Stars
 (12.664 stars)
Métricas de merge de PR
 (Mesclagem média 60d 20h) (17 fundiu PRs em 30d)

Description

Feature Request: Expose mode toggling actions

I was looking for a way to automatically switch to NORMAL mode after saving a document. The correct way to do this is documented as adding values to the "editor.codeActionsOnSave" configuration hash.

My rudimentary understanding is that the actions visible in the command palette have a one-to-one correspondence with actions allowed in this hash. However, I see no ability in the palette to change the vim mode, and assume there is no corresponding way to add something to this hash to get what I want—I only see these commands:

Would it make sense to expose actions for toggling modes? I can think of several other uses for this functionality.

Environment: latest and greatest VSCodeVim, VSCode, and OSX

Guia do colaborador