Skip to main content

Changing the Tab Size in VI Editor

· One min read

The vi editor is a powerful editor. Problem with it is that it is only for the command line which means that many preferences are not accessible via a 'Preferences' page. You need to know how to set preferences using commands.

Recently I've found out how to change the tab size in the vi editor. I think by default the tab size is 8 characters, which is too long for coding with proper indentation. To change it to a four character stop, use the following command in command mode:

:set tabstop=4

KDE & Compiz-Fusion Hiccups

· One min read

I have KDE and Compiz-Fusion installed on openSUSE 10.3 running for some time now. Some time ago, I encountered a strange problem where the ALT-F1 key combination does not bring up the menu any more. Also the I don't know what I did to cause this but I managed to solve it thanks to the openSUSE wiki.

Entering Symbols in Linux

· One min read

From the blog aggregator planetsuse.org, Garrett LeSage posted about using the Compose key to enter different typographical characters such as —, ®, ©, ², ¿, ¡, ÷ etc

Interested? Read his posting to see how it works.

By the way, the post is for Linux only. Enjoy.

Gmail Knows I'm Chinese?

· 2 min read

So apparently Gmail knows I'm Chinese. Or so I think. In the past when I log out of Gmail, it will say "Please wait..." Recently, perhaps through some heavy-duty data mining, it told me to "请稍等..." (Chinese for "please wait") instead. I thought that I had turned some settings in Firefox to display Web pages in Mandarin or I revealed through my emails that I'm Chinese - in which case that would be a serious case of privacy invasion, I think.