DEV Community

Discussion on: Why I switched to Vim from Visual Studio Code

Collapse
 
verzola profile image
Gustavo Verzola • Edited

Hey! Nice post! I also forced myself to use Vim full time some years ago and I do not regret. It made me a lot more productive. I recommend this book that helped me understand a lot of Vim:
learnvimscriptthehardway.stevelosh...

Have you ever tried Vim 8 or NVIM? It allows you to get the same colors from GVIM.

My .vimrc: github.com/verzola/.vimrc

Collapse
 
ayoisaiah profile image
Ayooluwa Isaiah

Thanks for sharing your vimrc! Just took a quick look and I can already see some things that I will find useful :)

I've been on Vim 8 since day one so I don't think that's the problem. It appears you need true color support in the terminal as well. I'm not sure what Linux terminal emulators have true color support and I haven't been bothered to look it up. Gvim will do for now.

Collapse
 
verzola profile image
Gustavo Verzola

You are welcome! Most of the things in my vimrc was stolen from other people vimrc or from this book, hehe! I started using these ready vimrc distributions like spf13-vim but my vim took too long to startup... Also there was a lot of plugins and settings that I didn't know how to use or didn't needed, so I created mine with just the things I really need and now it is super fast, like it should be!

About the terminal, if you use Linux, there is a big chance that the default terminal emulator has true color support, but you have to activate in vim with setguicolors. It is useful mostly when you are connected to a server via ssh or use the terminal a lot.