Re:Intermediate Vim tips
by i_feel_great on Thursday December 21, 2017 @06:32PM
(#15983926)
Where have you been all my life, "set cursorcolumn"?
[ Parent
| on HN ]
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.
Re:Intermediate Vim tips
by brian-armstrong on Friday December 22, 2017 @04:29AM
(#15986276)
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.
Re:Intermediate Vim tips
by unknown_apostle on Friday December 22, 2017 @04:29AM
(#15986279)
Is it me, or does cursorcolumn really give Vim a bit of a sluggish feel?
Re:Intermediate Vim tips
by mcmatterson on Sunday December 24, 2017 @12:30PM
(#16000364)
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.