lines of code wrap at my 80-column margin. However the wrapped
lines display starting at the left margin. E.g.
|def my_func() |
| for thing in (1, 2,|3, 4, 5)
| |
^ wrap column
Setting 'wrap linebreak' wraps to look like
|def my_func() |
| for thing in (1, 2,|
|3, 4, 5) |
whereas I'm hoping for something like either wrapping to the
*same* indent as the wrapped line,
|def my_func() |
| for thing in (1, 2,|
| 3, 4, 5) |
or even better wrapping to the same-plus-a-multiple-of-'shiftwidth':
|def my_func() |
| for thing in (1, 2,|
| 3, 4, 5) |
Any leads on coercing Vim to do such indented soft-wrapping
(without inserting the literal newlines/indentation into the file)?
-tim
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment