Archive

Posts Tagged ‘Vim’

… At least it is not the <ESC> key!

Just over a year ago, I spilled coffee on my keyboard at work. Almost entire left side of the keyboard was ruined. The buttons had become sticky from the mocha and were acting stubborn. I replaced it with a new ergonomic keyboard. Life was good.

In the meanwhile, I built a cheap computer at home. Instead of buying a new keyboard, I decided to clean the coffee on my old keyboard at work and put it to use with my home computer. Most of the keys work fine after cleaning. I don’t end up using the keyboard at home as much as I do at work, so things are working pretty well.

That was until the past Monday. On Monday, I found that one – just one – key on the new (well, not so new anymore, but comparitively) keyboard at work is being insensitive. That key had to be the colon (:) key! As a Vim user, that spells trouble.

I am OK using the almost 50% ruined keyboard at home. But using an otherwise perfect keyboard with just an insesitive colon is proving to be a big pain in the… oh boy… no pun intended what-so-ever!

But then again, at least it is not the <ESC> key!

Tags: ,

Vimpress to edit/publish WordPress posts

This is very impressive. With Vimpress, you can publish/edit WordPress blog posts from within Vim, like I am doing now. It works great too. This brings together my favorite editor and my favorite blogging platform… Its been around for a while, I only found out today!

UPDATE:

I did find that the plugin does not play well in Vim compiled with python disabled. Vim throws a lot of errors when loading the vimpress plugin (blog.vim file). Adding the following lines before the command! lines in blog.vim addresses this:

if !has("python")
  finish
endif

Cheers!

Tags: ,