Smith's Personal Journal

Thoughts for public consumption

Month: January, 2010

Small realization

In case you didn’t noticed, I didn’t update this poor blog of mine that often.

At first I thought it was because, well, I just didn’t have anything to write. But after I have been trying out the magnificent blogit.vim script for Vim, it dawns on me that the main reason I blog so little is not that I didn’t have anything to write but more about the fact that I can’t stand the sluggishness of the web interface (yes, both Blogger and WordPress is equally bad in this department).

I guess this reinforced the fact that web application is still not ready to replace the good old, well, applications. I mean, can any web app beat the speed and responsiveness of good old local app like Vim? Maybe in the future, but definitely not now.

Kudos to all people who make blogit.vim, blogging have never been this fun. 🙂

เขียน blog โดยใช้ blogit.vim

ลองทำการเขียน blog โดยใช้ Vim script ที่ชื่อ blogit.vim ดู

เท่าที่ลองใช้ดูแล้ว ไม่เลวเลยที่เดียว นอกจากจะทำการเขียน post ใหม่ได้แล้วยังสามารถทำการแก้ไข/ลบ post เก่าๆ ได้ด้วย นอกจากนี้ยังสามารถทำการ preview post ที่เขียน (แบบ local!) ได้ด้วย ถึงแม้จะมีปัญหา encoding เมื่อตอนใช้กับภาษาไทยก็ตาม แต่ก็ถือว่าไม่ใช่เรื่องใหญ่

ชักจะติดใจซะแล้วแฮะ 😀

Blogging with blogit.vim

Try out blogging using blogit.vim Vim script.

Aside from minor issue with publish date, everything have been working great so far.

Mutt, rxvt-unicode and the problem with backspace key

Mutt is a very nice email client. In fact, I think it is currently one of the best client to use with Gmail through IMAP.

However, I have run into a problem with Mutt on rxvt-unicode (also known as urxvt): the backspace key doesn’t seem to work in the pager and thus I cannot scroll backward through mails when reading them.

Today, I’ve found the solution. It turns out that rxvt-unicode uses some none standard value for backspace key. rxvt-unicode uses “^?”, while Mutt seems to expect… something else.

Anyway, the solution is to simply bind Mutt’s previous-line action to “^?” (that’s Ctrl + ?, so we must use “\c?” in .muttrc) and voila! The backspace key is now working.

More information about rxvt-unicode’s backspace key value can be found in its man page.

Design a site like this with WordPress.com
Get started