How to change Python shell editor to vim -
i have question how change python shell editor.
simple example:
$python python 2.7.3 (default, aug 1 2012, 05:14:39) [gcc 4.6.3] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import datetime >>> help(datetime)
the help() command opens unkonwn editor default. can change make open docs in vim instead?
help()
should open pager, not editor. sounds environment variables bit mixed up. pager controlled $pager
, , if blank use more
. should unset it.
the default editor, (eg) ipython uses %edit
command, can set via $editor
variable.
Comments
Post a Comment