If I told myself I would use Vim as my main text editor today about 6 months ago I would not believe it. I don't know what made me change to it, but as of now I can't even think och switching back.
The past 6 months I've been using Atom as my main text editor. Prior to that I used Sublime Text for a couple of years. Both are really good and competent text editors.
The transfer
What I knew about Vim before I made the move was like "there's just a lot of key commands" and "I must press 'I' to insert text". I've been using Vim for some merging git branches, so I had basic knowledge how to enter and exit the application but it was very shallow.
I decided to move to Vim the 17th of february and been using since then. I've only been two weeks so far. But everything doesn't come easy. To get me motivated to use Vim I decided to use Vim as my main editor through my next project at work which started 16th february.
The never ending .vimrc
Just as Sublime Text is abit thin and boring is Vim with the vimrc
file. The vimrc
file is a file for all your custom settings and keybindings. And there is a lot of settings to do.
I read some where on StackOverflow that you should not just take someones vimrc
and go with it. As every person is different, so is every persons vimrc
. I did take some inspiration for others vimrc
files
but first I did carefully Google or used the command :help
to see what the setting actually did.
What I've come to realize during these 2 weeks is that one will never get the perfect vimrc
file. I'm updating my vimrc
almost every day.
My vimrc
As lots of other programmers do out there I too have uploaded my vimrc
file to github. I'm using Pathogen to manage packages and bundles.
I will post some vim trick and tricks which I find pretty nifty here on this blog soon. Hope to see you soon.