Skip to main content

Posts

Showing posts from December, 2008

YES WE CAN !!!

YEAH !!! WONDERFUL !! Viet Nam has won the AFF Cup for the first time in history after defeating Thailand. History has changed. Now we can say YES WE CAN. WE CAN MAKE HISTORY. NOW WE MADE HISTORY.

Give MOST pager LESS key-bindings

I like MOST for its ability to give color to manpages but dislike its keybindings. As a long-time user of Vim, I feel inconvenient to move my palm out of the home row. LESS offers VIM-alike keybindings which I used most of the time. I was wondering whether or not MOST can have LESS-alike keybindings. Googling around, having no answer, I decided to download MOST source-code to dig into it. But to my surprise, MOST did the thing, allowing LESS keybindings customization through configuration file. Great !!! Just follow instructions below and you will have colorful manpages with LESS keybindings. 0. You need to install MOST first (depending on your *nix system, I use Ubuntu). 1. Download MOST source code from : ftp://space.mit.edu/pub/davis/most/most-5.0.0.tar.gz 2. tar xvzf most-5.0.0.tar.gz 3. cd most-5.0.0 , you will see file called lesskeys.rc , this is key-emulation for LESS. 4. cp lesskeys.rc ~/.mostrc , restart terminal then you will have MOST with LESS keybindings ready ! You can