I use in much the same way and just call :update. I also save
automatically when the Vim window loses focus.
--
Salman
On Wed, 24 Feb 2021, 02:33 Tony Mechelynck,
wrote:
> P.S. My solution to a similar problem was a little different:
>
> map :wa|wv
> map! :wa|wv
>
> Best re
P.S. My solution to a similar problem was a little different:
map :wa|wv
map! :wa|wv
Best regards,
Tony.
--
--
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.vi
On Wed, Feb 24, 2021 at 5:06 AM wrote:
>
> 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
>
>
Hi Salman,
oh! :)
The first is genious and while reading the second one I had
the distinctive feeling of flat-hand-against-my-fronthead... ;)
Of course!
Thank you very much! That helps me a lot!
Cheers!
mcc
On 02/23 11:11, Salman Halim wrote:
> I actually prefer to never hit shift, so map ;
I actually prefer to never hit shift, so map ; to : instead.
You could simply define a command called W to do what you want:
command! W w
--
Salman
On Tue, 23 Feb 2021, 23:06 , wrote:
> Hi,
>
> if my PC is heavily compiling things and I am editing and saving
> things repeatedly if often hit
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