Jun 28, 2009

VIM Color Theme (Ayende)

Oren Eini made a great color theme for Visual Studio. I ported it to VIM. You can get it here

Here is a list of my previous VIM themes:
1. AF.vim

2.VividChalk.vim (it's specialized for Ruby)

Jun 27, 2009

Use Consolas font in Japanese VIM

Consolas is a font which is specialized to display source codes.
To use the font in Japanese VIM, add the following line in .vimrc

set guifont=Consolas:h11:cSHIFTJIS

Then import the following into your registry and reboot.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]

Since Consolas supports English only. It's necessary to tell system how to display the words in other Languages or all Japanese words cannot be display normally.
The above registry setting assign
BATANG.TTC,Batang" to Consolas font to display both Japanese and Chinese words.

The result is here:

To get into the nutshell, see how font linking works

Just bought a Panasonic Notebook

I am fansinated by Panasonic Let's Note Y series. The 1400x1050 resolution with only 1.5kg weight is really amazing. I bought at Osaka and it took me ¥16,0000. It's a little pricy but still acceptable. I cannot think of a better mobile weapon of programmers than this one.

The Japanese keyboard:

The ugly look:

Jun 20, 2009

The VIM Settings to replace Visual Studio 2008

Just start to shift from Visual Sudio 2008 to VIM. I heard that keyboards can bring a lot of fun to programming, but I cannot live without Visual Studio 2008. There are too many great features of it, like completion, source code browsing, etc. All I need to do now is to being these features into VIM. (Why does no one make a power pack of VIM to beat Visual Studio?)
1. SnipMate
Provide a Textmate-like snippet functionality. It's a better substitude of snippetsEmu. However, snippetsEmu has more snippets. Perhaps I should port them to SnipMate, hmm...

2. SuperTab
3. FuzzyFinder
4. CTAGs
5. EnhancedCommentify
6. DoxygenToolkit
7. a.vim
8. visual_Studio.vim

Used plugins:
1. taglist
2. project
3. RltvNmbr

Jun 18, 2009

The last express in 2009

Just finished "The last express", a great adventure game produced by Smoking Car in 1997. I played the demo of this game when I was a child. I didn't play the full version since I found nowhere to buy this game at that time. Though it's been 12 years, I still cannot forget this game. So I downloaded the full version(thanks to the greatest invention of the 21st century) and played it. The feeling is like playing a game of 2009. Unlike many old games, its great visual quality makes me feel it's a new game.

The ending deserves an Oscar.

Jun 17, 2009

Abandon Textmate...Now!!!

Textmate hasn't release any new versions for several years. I don't think a software does have a future if it's not actively supported. Therefore, I decided to switch to the old good VIM. Perhaps I could master VIM this time.

*Update 2011/11/15: There will be Textmate 2 alpha release around Christmas.  After 2 years, it doesn't matter anymore. VIM FTW!

List of great games

A couple of games I cannot forget in my life

1. Fallout
2. Torment
3. Baldur's Gate
4. The last express
5. Crusader: No Remorse
6. Daggerfall
7. Strike Commander
8. Master of Magic
9. Civilization
10. GTA