Welcome to zerokspot.com, the personal website of Horst Gutmann.

Archive for vim

  • Book review: Hacking Vim 7.2

    First a short disclaimer : I received a review copy of this book by Packt, which is really nice of them.

    For the last couple of years I've been using Vim more or less constantly without actually getting all that deep into it. My whole configuration is a collection of (a) stuff I found on the web and (b) what I could hack together myself after looking at some examples and the documentation for less than an hour. For some reason I simply never could find the time to actually read the documentation.

    So when Swati Viswanathan of Packt Publishing asked if I'd like to review a book about hacking up Vim, at first I was pretty undecided. I have virtually no knowledge about the extensibility of that awesome piece of software except for what is in my configuration. But then I read the description of Hacking Vim 7.2 by Kim Schulz and thought this might be finally the right time for getting into it for real ;-)

    Read more about "Book review: Hacking Vim 7.2" ...

    2010/06/02 at 22:40:11

    comments

  • Getting to VIM's Python interface

    Scripting is usually one of the selling points for those types of text editors that are specifically targeted at power-users. But most of the time you have to learn a whole new scripting language to really be able to use it. Imagine my surprise when I noticed that VIM besides having it's own scripting language also let's you also write plugin in Perl, Python, Ruby and TCL. This way you don't really have to learn a new language for scripting VIM, although you might still want to look into it because there are a few problems.

    Since I like Python quite a bit, the rest of this post will be mostly focused on the Python interface.

    Read more about "Getting to VIM's Python interface" ...

    2009/02/21 at 23:58:39

    comments

  • MacVIM as TextMate replacement

    TextMate is one of the coolest editors around thanks to its Snippet-feature, ease of extensibility and community support. But more and more I saw myself using VIM instead of TextMate for one reason or another, but mainly because I'm just so used to searching with / and using :s for search-and-replace. And MacVIM helped quite a lot too, thanks to its pretty nice integration into OSX.

    Today I tried two plugins for vim that move it pretty close to what TextMate has to offer (not that vim is less powerful than TM or something, but some gems are just too well hidden ;-) ): snippetsEmu for snippets and NERD_tree as a replacement for the project-drawer.

    Read more about "MacVIM as TextMate replacement" ...

    2008/08/03 at 15:05:04

    comments

  • 25h sequences in VIM?

    I'm currently evaluating FreeBSD as some kind of alternative to Gentoo for one of my machines I naturally also installed VIM right away. A little bit later I noticed a quite annoying problem: In the upper left corner the string "25h" which seemed to be the rest of some loose escape sequence. The same string also got appended to the rendering of any character I wrote.

    Read more about "25h sequences in VIM?" ...

    2006/07/29 at 12:14:37

    comments

  • SPAM in the VIM tip archive

    Argh... now spammers have also found the VIM tip archive for their dirty work. I just hope that this won't happen on a regular basis otherwise Scott Johnston will have to re-think adding some spam protection.

    2006/01/01 at 21:45:55

    comments

  • Intending multiple lines at once

    I just noticed something quite funny. I often have to intend multiple lines (blocks, whatever) of code because I added for example an if-condition somewhere in my code or something like that. Now you could intend every single line manually which is quite a big pain when the new block is quite long.

    Read more about "Intending multiple lines at once" ...

    2005/02/24 at 17:59:29

    comments

See all tags used for weblog posts