Hacker News new | ask | show | jobs
by i_feel_great 3105 days ago
Where have you been all my life, "set cursorcolumn"?
3 comments

If you like the idea of cursorline, take a look at this snippet I found while searching dot files: https://github.com/darnir/dotfiles/blob/eb26d9a0f3df1650df0e...
LOL that was my exact thought. Added to .vimrc. But will never get back all the time lost trying to make sure I was at proper indent level.
I highly highly recommend always using a linter/formatter that just fixes this for you
Python. Indention matters. Unless there is a linter that can tell intent (and maybe there is on that offers an option?) indention can be the difference between once and forever.
Is it me, or does cursorcolumn really give Vim a bit of a sluggish feel?
It's not just you. I noticed it a few months ago and ended up disabling cursorline entirely. It seems to be caused by an intersection of cursorline and specific syntax highlighting rules (it happens for me in Elixir, but not in Ruby, for example). Honestly, while line highlighting is nice, I can't be bothered figuring out the way through it.

https://www.reddit.com/r/vim/comments/6onaui/vim_getting_slo...

is at least one exploration.