Timeline for Can I set multiple 'options' with a single `:set` command spread over multiple lines?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 4, 2017 at 14:57 | vote | accept | Cy8099 | ||
Dec 4, 2017 at 14:41 | history | edited | Rich | CC BY-SA 3.0 |
fix grammer
|
Dec 4, 2017 at 14:30 | answer | added | Rich | timeline score: 12 | |
Dec 4, 2017 at 13:16 | comment | added | Cy8099 | Thanks for respon. How about 'ino' & 'cnorea' options? 'cause I have many lines (about 15) that they contain this two options on start of line, Can I sum them up? or Is it good idea to sum up them? | |
Dec 4, 2017 at 12:52 | comment | added | Christian Brabandt |
I wouldn't recommend it, but it should be possible using \ at the beginning of the lines for line continuation (this depends on the C in cpoptions ). Note, this is hardly readable, and using the short option form is not really recommended.
|
|
Dec 4, 2017 at 12:38 | comment | added | Cy8099 | no actually I know that I can set these option in one line but I want to set them in some lines with one 'se'. | |
Dec 4, 2017 at 12:25 | comment | added | statox |
@Carpetsmoker I think the question is to add a newline between nu and sm and between sm and hls 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)
|
|
Dec 4, 2017 at 12:18 | comment | added | Martin Tournoij |
Your question is a bit unclear, but I think set nu sm hls will do what you want?
|
|
Dec 4, 2017 at 12:15 | history | asked | Cy8099 | CC BY-SA 3.0 |