Skip to main content
1 of 2
D. Ben Knoble
  • 27.7k
  • 3
  • 31
  • 68

In :set: you must write \ for spaces. See :help option-backslash (also from :help :set and scrolling).

You can also use &-notation (documented at :help let-&).

Finally, I recommend a peek at How do I navigate to topics in Vim's documentation? which provides a number of useful tips for finding "how do I do X."

D. Ben Knoble
  • 27.7k
  • 3
  • 31
  • 68