Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
4 votes
Accepted

Is it possible to break out of nested loops?

There is no goto in vimscript [1]. Like most languages that lack goto, you'll need to handle this using a variable: let breaking = 0 for i in range(3) for j in range(5) echo i j ...
user avatar
  • 12.6k
1 vote

How to get total width of Vim with vertical splits?

The solution is the use &columns instead of winwidth(0) to get the width of the terminal window.
user avatar
  • 23
1 vote
Accepted

What is the significance of duplicating syntax-group name references?

Repeated syntax-group names and cluster references are superfluous in a particular syntax command argument; when found, they are quietly passed over. Read Bram Moolenaar's comment in the discussion ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible