Really cool Vim tip of the {time_interval}

I just discovered this today and its really useful when writing code.

To indent multiple lines, from command mode in Vim just enter the number of lines to indent and then >>.

So to indent 10 lines you would just enter 10>>

At the beginning of the semester everyone was discussing what IDE they use. I don’t know, I’m still really loving Vim. I would really miss it if I had to leave it. I know IntelliJ IDEA has a Vim mode which is cool but its still not the same as Vim in a terminal. Ok maybe it is the same but I still love plain old Vim 🙂

I guess part of it though is that I actually really like using console windows. I use a tabbed console program – right now I use Konsole although there are other good ones. So it wouldn’t be accurate to say that Vim is my IDE because Vim is only one component of it. My true IDE is a Linux BASH environment using the Vim editor. The BASH environment provides me with a lot of other powerful tools which I regularly use: rsync and scp to sync/transfer code between machines. cp and mv. chmod. less which I use frequently. And grep or egrep (actually I have a bash alias to a function which greps through source code folders for each class I take which is extremely useful when looking for bits of code).