Blog's control panel: | Home | Tags | Index | Rss 2.0

2 quick tips on bash vi-mode and 256 colours for vim

Wed, 30 May 2007 | Permalink | Tags: , ,

In a previous article I discussed how you can enable 256 colours for vim and how that can improve long coding sessions. But that left me with a problem when ssh'ing to machines where xterm-256color isn't supported. more »



Bash Programmable Completion and Vim blogging

Mon, 09 Apr 2007 | Permalink | Tags: , ,

Last night I came up with some stuff to use vim for blogging. It involves some bash scripts and aliases, and you end up with a blog command you can invoke to create a new post. Once there I thought it'd been cool if doing blog<TAB> listed all my current posts and offered tab completation for partially typed names. Bash programmable completation is what I wanted, but it turned out to be less straightforward and well documented than I expected. more »




SpikeLab.org is a Filippo Spike Morelli copyright 2005-2008
This work is licensed under Creative Commons Att-SA License.