Vim is still sexy!

NOTE: This post is not about the editor war — so please don’t try to start one either.

I use vim as my editor of choice. As I note above, to each his own editor.

However, Vim is not what one would call a “sexy editor”. After all, it has been around (in some shape or form) since before I was born. It does not generate as much buzz in the blogosphere and is not the darling of all the new kids on the block, as some of the other editors out there. Not many Ruby on Rails developers, for instance, seem to be using Vim for coding (actually, saying that a lot of RoR developers seem to be using Textmate is probably more accurate, but you get the point). It is written in C and does not use git for hosting. The Vim website leaves much to be desired. In the social networking world, Vim barely has a presence.

Vim attitude

But, I contend that Vim still has a lot to offer. Here are few of the things you can check out to spruce up your Vim usage:

I’m also very happy to see the number of Vim related repositories on github. Bottomline: don’t give up on Vim. Vim is still sexy baby, you just need to look in the right places :)

Update: I’m including a screenshot of Xoria below.

xoria, GUI, C

26 comments

    • Diwaker Gupta

      Not particularly — both of them have very similar features. snipmate has a better syntax for specifying snippets IMHO, and more flexible in how users can specify custom snippets. I think snipmate syntax is also closer to textmate’s, so porting bundles should be easier.

  1. Justin

    I tell people editing with VIM feels like painting on a canvas — like I can shape it in any direction or dimension I want. The “Visual mode” has a lot to do with that. (Although with “Undo,” perhaps sculpting clay is a better analogy.)

  2. Justin

    I tell people editing with VIM feels like painting on a canvas — like I can shape text in any direction or dimension I want. The “Visual mode” has a lot to do with that. (Although with “Undo,” perhaps sculpting clay is a better analogy.)

  3. Nick Stinemaes

    The first thing I did when I read your arcticle was try to find a screenshot of xoria256. It’s quite unfortunate you didn’t post a screenshot. My satisfaction and likelihood of following your posts would have increased.

  4. Nick Stinemtaes

    The first thing I did when I read your article was try to find a screenshot of xoria256. It’s quite unfortunate you didn’t post a screenshot. My satisfaction and likelihood of following your posts would have increased.

  5. Keith

    Actually, quite a few Rails devs have switched. I moved from Textmate to VIM (MacVim…) several months ago and have been quite happy with it.

  6. Wes

    What font are you using in that screenshot? Might also consider sharing your .vimrc if you have any special tricks in there. On dotfiles.org, .vimrc files are quite popular.

  7. Oliver Z

    Vim is and always will be sexy until some other editor can prove useful and powerful enough with its keybindings. How many editors out there allow you to have both hands on the home row of your keyboard all day long (an editor that doesn’t come with every feature of your operating system implemented in lisp)?

  8. steve

    this is my hand-rolled .vimrc which has syntax highlighting, folding and more and I set up exuberant ctags some while ago.

    vim is uber-sexy. I’m just looking for some decent IDE stuff and I’m set (not checked out minibuf yet).

    my criteria is I’m a touch typist and any plugins or scripts *have* to be keyboard easy.

    also I remap my keyboard using xmodmap to sway Caps Lock and Escape (regedit if you want to do this in windows).

    as promised.

    1 ” Steve’s .vimrc
    2 ” 25th March 2009
    3
    4 ” this has to be the first command as it affects everything else
    5 set nocompatible
    6
    7 ” this allows backspace to work as expected when in insert mode
    8 set backspace=indent,eol,start
    9 set wrap! ” turns of word wrapping
    10
    11 ” some prettyfying of looks
    12
    13 syntax on “syntax highlighting
    14 set showmode
    15 set showcmd ” show incomplete commands
    16 set ruler ” show cursor all the time
    17
    18 ” some search configuration
    19
    20 set hlsearch “highlight search matches
    21 set incsearch ” enable incremental searches
    22 set ignorecase ” make searches case insensitive
    23 set smartcase ” except when all caps
    24
    25 ” The following settings control tabs and indentation
    26
    27 set autoindent
    28 filetype plugin indent on ” load indent files to do language dependent indenting
    29 set ts=4 ” set tabstop
    30 set shiftwidth=4 ” indent width for autoindent
    31 filetype indent on ” indent depends on filetype
    32
    33 ” this is folding ** have to look this up to use correctly but it is cool
    34
    35 set foldenable ” turn it on
    36 set fdm=indent ” make it fold indents
    37 “following line apparently allows space to toggle folds (coolio and if you
    38 “find it here it does
    39 nnoremap za
    40
    41 ” miscellaneous settings that I can’t fit elsewhere
    42 “Informative status line
    43 set statusline=%F%m%r%h%w\ [TYPE=%Y\ %{&ff}]\ [%l/%L\ (%p%%)]
    44 set number
    45 colorscheme elflord

  9. Pingback: Reconsidering Vim
  10. Pingback: Vim and the future of editors
  11. Pingback: Should you have One Editor for Everything? | Bryant Rethinks Software

Leave a Reply to Brennen Bearnes Cancel reply