You are invited to Log in or Register a free Frihost Account!

Switching to Vim

I've finally decided to bite the bullet and switch to Vim as my primary editor. I've spent the last few days learning to navigate and perform common tasks inside Vim. My favourite so far is ci" which deletes everything inside the first pair of double quotes and puts the cursor between them in the insert mode. I'm still quite slow when it comes to navigating and doing common stuff, but I'm getting better slowly. I found a basic vimrc file with must-have settings that I'm using as my base settings to which I plan to add in the future. I've also installed a few plugins like NERDTree and YouCompleteMe (which took some time setting up). I'm currently searching for some good Django-specific plugins since a large part of my day is spent coding Django.

I want to learn how to manage projects inside vim and navigate files easier using NERDTree and possibly some mappings. Once that's done, I think it's just a matter of using this beast on an everyday basis and learning it as I go along. I've found many articles over the web about other people's vim adventures and found them very inspirational. It truly seems like one editor to rule them all, and I now sort of regret not switching earlier.

5 blog comments below

VIM is good. Most of my generation (older) of Unix admins are so used to vi that they resist any other editor, but VIM is pretty much compliant with the vi keystrokes and adds useful functionality.
Bikerman on Sun May 24, 2015 10:27 pm
isn't VIM is just VI with color?
badai on Mon May 25, 2015 9:47 am
No, there are a few more differences:
Ubuntu Support wrote:

Vim has been ported to a much wider range of OS's than vi.
Vim includes support (syntax highlighting, code folding, etc) for several popular programming languages (C/C++, Python, Perl, shell, etc).
Vim integrates with cscope.
Vim can be used to edit files using network protocols like SSH and HTTP.
Vim includes multilevel undo/redo.
Vim allows the screen to be split for editing multiple files.
Vim can edit files inside a compressed archive (gzip, zip, tar, etc).
Vim includes a built in diff for comparing files (vimdiff).
Vim includes support for plugins, and finer control over config and startup files.
Vim can be scripted with vimscript, or with an external scripting language (e.g. python, perl, shell).

Source -

More detailed description of VIM
Bikerman on Mon May 25, 2015 12:54 pm
I tried to use it on the terminal but it looked horrible. So I actually switched to gvim with the solarized theme. I think it's insanely beautiful and really easy on the eyes. Here's what it looks like currently:

codegeek on Tue May 26, 2015 5:18 am
I have a coworker on the desk that has been playing a game that tries to teach you about VIM and it gets you trying to use the controls while you play. You come across little tips and tricks and then he actually tries it out using VIM in another window he's got up. I still don't know much about it as I'm finding my head is veering away from the tech side and going more towards the people side.
TheGremlyn on Sun May 31, 2015 3:26 pm

© 2005-2011 Frihost, forums powered by phpBB.