74th / vscode-vim

vim emulator for Visual Studio Code
MIT License
215 stars 25 forks source link

How about adding a "w" command? #85

Open Magicloud opened 5 years ago

Magicloud commented 5 years ago

Since ":" opens command palette, and "save" is not even the first command, how about adding a "w" command to save file? So ":w" behavior could be the same as VIM.

dattl commented 4 years ago

Since ":" opens command palette, and "save" is not even the first command, how about adding a "w" command to save file? So ":w" behavior could be the same as VIM.

[
  {
    "key": "shift+; w",
    "command": "workbench.action.files.save"
  },
  {
    "key": "ctrl+s",
    "command": "workbench.action.files.save"
  }
]

I ended up using key binding.