Monday, May 22, 2006

Vim tabs

Recently stable version of vim 7.0 was released. TabPage is one of the notable feature additions in Vim 7.0. In the earlier versions tabs could have been (sort of) simulated using buffers. Now we can explicitly create tabs and have multiple windows within them. Some vim settings that i have done to make tabbed vimming more convenient (firefox-ish):- 1. Clicking on a file should open it in existing gvim but in a new tab For this i have created a batch file in which gvim is invoked with --remote-tab-silent option ( gvim --remote-tab-silent %1 ). Then i have associated the text files which were previously bound to open with gvim to be opened using this batch file. 2. Creating new tab using Ctrl-t Added following mapping to the vimrc file -- map :tabnew In vim we can shift tabs using [tabnumber]gt and in gvim we can also use the more familiar Ctrl-[pageUp/pageDown] shortcuts by default.
To know more about Vim's tabpage feature check out the documentation at http://www.polarfox.com/vim/manual/v70/tabpage.html or :help tabpage from within vim. A good review of some cool features introduced in vim 7.0 http://bhaskarvk.info/vim70-review-00.html

Sunday, May 14, 2006

Some memorable events of my recent trips

Goa drive to anjuna beach little Vagator saturday Night bazaar shopkeeper wanting to kiss shobith aka karate kid yummy Crabs dancing Dolphins Gokarna just about managing to board the Bus Power & Avs: Bus nahi mili kaa... Cool waters of gokarna, kudlu, Om & paradise beaches Dandeli (Pfunk)TiKu & Bappi: Now or Never traveling on top of Gule Irfan river Rafting Night forest trek -- spotting Tigers and lots of flying Squirels and night Jars

Tuesday, May 02, 2006

TiddlyWiki - wiki journal

This is a very nice way to provide the power of wiki to a journal. Main advanatages of a wiki:-
  1. Very easy to create and edit content
  2. Neednot worry about the html syntax
  3. Interlinking the articles in like punctuating words
One major disadvantage of a wiki is that it expects us to learn new conventions for formating and linking texts. If one is already familiar with html, this is a bit irritating untill one gets used to the new wiki conventions. Some interesting features of TiddlyWiki:-
  1. It is purely html and javascript based, so works on any browser, best on firefox.
  2. It doesnot depend on any server technology
  3. All the content is in one html page
Some journal specific features of TiddlyWiki:-
  1. One click creation of new date stamp titled journal entry
  2. Generates xml feeds
  3. Allows tagging of entries ( here an entry is called a tiddler )
  4. Searching of tiddlers, including regex search capabilities
  5. Though it is non-linear, it gives a timeline view
Related links:-
  1. Tiddly wiki site
  2. TiddlyWikiTutorial
  3. EmptyPage from which you can start building your own wiki. No other download required.
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.