Development

Vim: Always Learning

Vi (or Vim in it’s modern incarnation) is a text editor. It’s a modal text editor. You can switch from insert mode to normal mode. Insert mode is where you type text into your document, and normal mode is where you type commands that do all sorts of functions. It’s […]

Linux

For the love of Vim

A contributor to the Hackaday blog has a good old rant about how Vim is superior to Emacs.  Of course it is (a silly argument), but he manages to give a quick overview of Vim and describes a few neat tricks beginners will find useful! And after writing the text above I […]

Linux

set -o vi FTW

The Bash command line can be edited using the cursor keys but for the real power user you need to enable Vi mode: $ set -o vi Or add it to one of your Bash startup files. Now, instead of the slow interactive editing you’ll get the command and insert […]

Linux

Learning more about Vim

I mentioned in a tweet recently that I’ve been using some form of Vi for about twenty years. It all started in college where we had highly advanced green screen monitors attached to a large Unix box. I can’t remember what Unix it was ran on that machine (it may […]

Linux

Open large files in Vim with care

If you want to load a large file in Vim you should disable the swap file to speed things up. It’s simple to do as well: Vim -n file.txt If a file is over 4096K or so and I have enough system RAM (not usually a problem) I’ll do it […]

Apple

Vim's cursor keys work in Mac OS X again

export TERM=linux Ever since my Macbook died and was fixed again Vim hasn’t worked properly in iTerm. I’m a big fan of SSH and Screen. SSH to connect to a remote server, and Screen is like a workspace organiser for your SSH session. First of all the backspace key worked […]

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close