Hi,
if my PC is heavily compiling things and I am editing and saving
things repeatedly if often hit :W instead of :w (that is, I am
still pressing SHIFT when hitting w.
So I tried to map :W to :w...but it does not work for me.
I tried
[n]map W w
and
[n]map :W :w
.
Is there any way to map the accidentally hit :W
command to :w somehow?
Cheers!
mcc
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210224040623.p4fmrhjxbiyf5e5n%40solfire.
Tuesday, February 23, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment