I’ve been having inner turmoil about text editors for a while. On the one hand, I realize that Vim is super-powerful, and I should use it. On the other hand, I don’t know a lot of commands, and I frequently find that I actually get more work done in gedit. This makes me not use Vim, and then I forget a few commands I used to know, and then when I do use Vim it’s a worse experience than before.
Luckily, there’s a solution: the ViGedit gedit plugin. It lets you use all your favorite Vim commands from within gedit.
So to install it, do the following:
- Open up a terminal, and create a folder called ViGedit. Or do it in Nautilus. Whatever. Navigate to the folder using the “cd” command in the terminal, and then type in this: “bzr branch http://bazaar.launchpad.net/~tristil/vigedit/main-method“. You may get an error saying bzr (Bazaar) is not installed, but it’ll also give you the apt-get command to install it.
- Type in “cd main-method”.
- Type in “python install.py”.
- Close the terminal, open gedit, and go to Edit->Preferences. Under the “Plugins” tab, put a check mark next to ViGedit, and then close the preferences window.
- Smile, dance, sing, jump around, shout for joy, and then do some editing!
As a sidenote, I’m assuming that eventually I’ll be able to comfortably drop the gedit wrapper, and just use Vim by itself. But training wheels never hurt anyone .