Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [auto]

The tag has no usage guidance.

1
vote
2answers
53 views

Make :w automatically run :nohl

I want :nohl to be run automatically whenever I run :w. How can I set this up? I tried autocmd BufWrite * :nohl in my vimrc but that's not working Apparently (from comments, thanks D. Ben Knoble)...