I have here an nginx config. I need to comment out blocks in it:
...things I want...
...things I don't want...
...things I want...
The things are 30-50 lines long, and I won't backup and delete them. I also don't want write #
s to the beginning of 30-50 code lines, and I also don't want to script/configure my text editor to do this. I think it is a quite trivial feature.
I tried
...things I want...
/*
...things I don't want...
*/
...things I want...
But it doesn't work. Is it really an unsupported feature in the nginx?
ctrl + /
in Atom and VSCode). For Vim, you'll need to configure it, e.g. can install the vim-commentary plugin. – Dennis Mar 27 '18 at 10:06I#<esc>
. It's like magic. Check:h v_b_i
in vim for more details. – Dan Locks Aug 23 '22 at 16:37