Map :W to :w
See original GitHub issueHi,
First, thanks for the great work you’re doing 👍
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.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:21
- Comments:16 (4 by maintainers)
Top Results From Across the Web
How can I permanently map the vim command :W to :w?
You don't want to map a key but create a command that behaves the same way as w(rite) does. Just write this into...
Read more >W Train (Broadway Local) Line Map - MTA
W Train (Broadway Local) Line Map. Updated Aug 13, 2021. This shows weekday service. Listed transfers are based on the weekday schedule and...
Read more >Map :W to :w - vimrcfu
Started using Vim the last 4 weeks. But one thing that really annoyed me was: I always type :W instead of :w in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not a direct solution, but I prefer remapping
:
to;
in Vim – this means I am never pressing shift during save so never accidentally type:W
.Anyone has a solution? It’s very annoying 😃