Is there any way to set options typed on multiple lines with a single :set
command?
Here is a part of my vimrc:
se nu
se sm
se hls
And as you see, I have se
on every line in which I set an option. I know that I can set the all options in one line with a single se
but How can I set them with one se
but with the options themselves specified on multiple lines.
e.g. I'd like to write something like:
se nu,
sm,
hls,
set nu sm hls
will do what you want?nu
andsm
and betweensm
andhls
in your command which is (I think) not possible (but I don't really understand how that would be helpful to be able to do that)C
incpoptions
). Note, this is hardly readable, and using the short option form is not really recommended.