vimplugin for eclipse

vimplugin for eclipse.

  • Install it using the eclipse plugin installer, pointing the location to http://vimplugin.sf.net/update
  • In the Window Preferences, the vimplugin preferences should be available. Point the vimplugin to your vim install location (not gvim). Did not work for me. Set the General | Editor | File associations preferences also the kind of files you wish to open in vim.
  • Open the file, and focus on it using the mouse to use it. ( Yeah, I found this in the known issues)

Random Wikipedia page as the HomePage of your Browser

Set http://en.wikipedia.org/wiki/Special:Random page as the homepage of your browser and every time you load up your browser, you will be greeted with a random wikipedia page.

Firefox with vim keys

Vimperator extension sets the firefox to a modal vim style. People used to vim will find it just very useful.
Like, over the command mode:
gg - goes to the top of page. No Separate Page Up/Home Keys number of times, which one rarely uses.
G - goes to the bottom of the page.
: open url opens the url.

The only problem I faced was,I had gmail on and it uses vim style navigation, ( j for down, k for up) and when press j for gmail, vimperator understood for itself and it was scrolling.
I thought, it must have been designed as window mode, so let me switch to the gmail window. and did CTRL-W-W.
Well, firefox tookover and closed the window!
It was fun tough.
Here is the list of commands supported.

using ptags.py for tag file

1) put the ptags.py file to your $PATH.
2) From the project directory containing your python project run the command.

$find . - name \*.py -print |xargs ptags.py

I was doing it previously in various different ( not so efficient ways)

credits

Soc application accepted

wow! my Google Soc application to Python Software Foundation got accepted. My mentor will be George D. Montana. Thank you G-SOC and PSF.

Norvig on Spell Corrector

Peter Norvig has written a very interesting article on Spell Correction and 20 line Spellchecker in python, which is way just cool.

vi name game

Open a random file in vi and you have to find what will your Name do? For e.g. my name 'Senthil', replaces the current line with 'enthil'. Got to know about 'S' command. 'kumaran' did something more interesting.
k - go up.
u - undo insert. Nothing happens.
m - set mark and with next letter being register.
a - register for the mark.
r - replace the character under the cursor.
a - with a
n - repeat the previous search whichever you might have performed.