add vi mode in ipython
No Comments

Posted by perkins on 21 July 2010 in IT | Short Link

add to ~/.inputrc: set editing-mode vi set keymap vi-insert

Tags: , , ,

python standard library / CMD – autocompletion
No Comments

Posted by perkins on 25 January 2009 in IT | Short Link

Standard documentation on the site (http://docs.python.org/library/cmd.html) left a lot of questions on the subject. Furtunately, the basic googling brought me here , where simple example allowed me to go through: import cmd addresses = [     'here@blubb.com',     'foo@bar.com',     'whatever@wherever.org', ] class MyCmd(cmd.Cmd):     def do_send(self, line):       [...]

Tags: , , ,

Copyright © 2006-2012 dimonf All rights reserved.
The Shades theme, version 1.8, is a BuyNowShop.com creation.