Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to make vim's commands silent when editing remote file

Tags:

vim

scp

When I edit a remote file using e scp://... command, I need to press any key after each command and this frustrates me.

For example, when I hit w to save the file, the message "press enter or type command to continue" shows up. I do not want to see any message after any successful command.

I tried to map commands to make them silent but it did not work.

like image 567
Muatik Avatar asked Nov 05 '25 15:11

Muatik


1 Answers

The netrw plugin has a lot of settings. The one you're looking for is:

let g:netrw_silent=1

like image 53
Dee Newcum Avatar answered Nov 08 '25 14:11

Dee Newcum



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!