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 28, 2009
VIM Color Theme (Ayende)
Posted by Lono at 05:11 0 comments
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]
"Consolas"=hex(7):4d,00,49,00,4e,00,47,00,4c,00,49,00,55,00,2e,00,54,00,54,00,\
43,00,2c,00,4d,00,69,00,6e,00,67,00,4c,00,69,00,55,00,00,00,53,00,49,00,4d,\
00,53,00,55,00,4e,00,2e,00,54,00,54,00,43,00,2c,00,53,00,69,00,6d,00,53,00,\
75,00,6e,00,00,00,42,00,41,00,54,00,41,00,4e,00,47,00,2e,00,54,00,54,00,43,\
00,2c,00,42,00,61,00,74,00,61,00,6e,00,67,00,00,00,00,00
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
"MINGLIU.TTC,MingLiU
SIMSUN.TTC,SimSun
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
Posted by Lono at 08:58 0 comments
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:
Posted by Lono at 08:16 0 comments
Labels: Life
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
Posted by Lono at 11:02 0 comments
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.
Posted by Lono at 09:39 0 comments
Labels: Life
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!
Posted by Lono at 20:32 1 comments
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
Posted by Lono at 20:05 0 comments