74th / vscode-vim

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

Map :W to :w #76

Open elentok opened 6 years ago

elentok commented 6 years ago

Hi,

First, thanks for the great work you're doing :+1:

I was wondering if there's a way to define the :W command and map it to :w?

As I often don't lift my finger of the Shift key fast enough more than 50% of the time I write :W which fails silently and I don't notice I haven't saved.

In vim I use the following to set this up:

command! W :w

Is there a way to do it with vscode-vim?

Thanks, David.