A potentially easier alternative to setting up an actual word wrap would be to
simply change the color of vim's "powerline" -- at least, the color of the
section where it shows the x coordinate of your cursor's current position --
from blue to, say, orange whenever the value of the x coordinate is 80 or
higher. That way, you could still go further if you needed to, but you'd get
instant feedback out of the corner of your eye whenever you passed the
80-character style-guildeline-imposed limit.
Even better, it could be blue at all times prior to 80 characters, turn green
at exactly 80 characters, orange between 80 characters and then red at 100-110.
That higher limit is just something I vaguely remember from some "modernized"
style guideline article I vaguely remember reading, and I'd have to double-check
the real upper limit. The 80-character limit comes from the official Linux kernel
style guidelines (if memory serves), so it's a bit more "universal" in my (newbie)
opinion.
This might be harder to implement than it appears at first glance, and has the
drawback of requiring you to manually word wrap on every line, but I still think
the idea is at least worth considering.
A potentially easier alternative to setting up an actual word wrap would be to simply change the color of
vim
's "powerline" -- at least, the color of the section where it shows thex
coordinate of your cursor's current position -- from blue to, say, orange whenever the value of thex
coordinate is 80 or higher. That way, you could still go further if you needed to, but you'd get instant feedback out of the corner of your eye whenever you passed the 80-character style-guildeline-imposed limit.Even better, it could be blue at all times prior to 80 characters, turn green at exactly 80 characters, orange between 80 characters and then red at 100-110. That higher limit is just something I vaguely remember from some "modernized" style guideline article I vaguely remember reading, and I'd have to double-check the real upper limit. The 80-character limit comes from the official Linux kernel style guidelines (if memory serves), so it's a bit more "universal" in my (newbie) opinion.
This might be harder to implement than it appears at first glance, and has the drawback of requiring you to manually word wrap on every line, but I still think the idea is at least worth considering.