Monthly Archives: November 2013

Does knowing VIM make you better at Linux?

Now that I’ve started playing with Vim (GVim to specific), I’ve discovered that lots of the GNU apps are linked up with Vim’s UI.

For example, when in Vim, you can search for text using the following command:

/mytextpattern

this takes you to the next match. Pressing ‘n’ will take you to the one after that and pressing ‘N’ will take you to the previous pattern.

The same applies when you’re using the man command, or aptitude too. Which suddenly makes using aptitude a lot easier for me. 🙂

I’m sure this has been documented somewhere, but it was a pleasant discovery for me.

Using Vim as an IDE

After trying out VIM, I think I may like it a bit more than EMACS already!

So, here’s something I’ve got to read soon:

https://wiki.python.org/moin/Vim
http://sontek.net/blog/detail/turning-vim-into-a-modern-python-ide

And to add to the excitement, VIM enthusiasts have published a whole lot of color-schemes online here:

http://code.google.com/p/vimcolorschemetest/

A looong read

Well, maybe it wasn’t so long, but it took me long enough to read it. That was “Sophie’s World”. And I’ve had the book for a while now. It started with a conversation in Cairo this summer while I was wading my way through Pirsig’s classic, “Zen and the Art of Motorcycle Maintenance”, rather slowly. At one point somewhere three quarters through the book, when Pirsig’s using the train analogy, I felt that my already fragile philosphic understanding was hampered by my ignorance of the history of philosophic thought.

I had two options then, Copleston’s excellent volumes on the history of philosophy or “Sophie’s World” and thanks to the intervention by a good friend, Yasser, I picked up the latter.

In Greece as I lay on the beach, I dived into the book, only to be hampered by my kindle’s breakdown when I was just about done with the Greeks. I had to wait a while for my kindle to be restored, lost again and finally be replaced by a Kobo – much satisfied with that now. And then the story resumes with me waffling about for a while longer and nibbling at the story every once in a while and backtracking a bit to recap on what I’d read and forgotten. It was a joyful journey most days, but I felt a bit bogged down in the last couple of chapters as Sophie’s World is invaded by other random thoughts. And I was happy to put it down, finally, today! Hip Horray! I can resume normal life again, secure in the knowledge that I know, or atleast I know where I can find bits and peices of what I need to resume reading Pirsig again. It can be a bit of a pain, really, the way I go about educating myself. But, atleast I can feel positive about checking off this book from my looooooooooong reading list.

Running out of space on my root folder

Some decisions end up biting you in the ass and I guess this was one of those.

When setting up linux on my laptop, I’d configured it so I had 10 GB for my / (root) folder and the rest was distributed between /home and /swap. And now I’d run out of space on the root folder.

Looking back, this probably stems from my windows background. I’d assumed that the root folder mostly represented the operating system – the equivalent of /windows folder. I should’ve accounted for it as /windows + /program files; the benefits of hindsight.

Lucky for me, since I hadn’t used up a whole lot of space on my /home folder, I had options: GParted!

And this software rocks. I downloaded the iso and put it onto a usb stick and booted from it. On loading, it opened up the GParted app. I noticed that my partitions needed some juggling, so I resized my home, nudged it to the right, followed by a nudge to the swap partition and finally the resize to make my root partition bigger. It took time, but I was able to queue the tasks and forgot about the machine for a good 3 hours.

I rebooted and it looks like everything’s working.