DEV Community

Mike Lezhnin
Mike Lezhnin

Posted on

4

Vim black magic

I am watching More Instantly Better Vim by Damian Conway and he has a nice piece of code to put into vimrc of yours and your friends:

highlight ColorColumn ctermbg=16 ctermfg=green
exec 'set colorcolumn=' . join(range(1,80,4), ',')
Enter fullscreen mode Exit fullscreen mode

Makes your python code look all cool like so:
Alt Text
Grab while it's hot!

Top comments (1)

Collapse
 
nirlanka profile image
Nir Lanka ニル • Edited

Aptly named "black magic"! Haha
Thanks! This is pretty useful for me actually.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay