A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/103293.html below:

vim mode in interactive python

vim mode in interactive pythonDonn Cave donn at oz.net
Fri Apr 20 00:52:26 EDT 2001
Quoth Timothy Grant <tjg at hyperlinq.net>:
| For some reason, I had never thought about the possibility of
| making interactive python use vim key bindings, but as I was
| reading the docs for the new release I read about setting vim
| keybindings by putting the following line in .inputrc
|
| set editing-mode vi
|
| I have done so, but I don't get vim bindings. What might I be
| doing wrong?

You might be trying to use a python install that lacks a readline
module.  Try "import readline" - if that works, I'm wrong.

I bet that's it, though.  I'm starting to think about a Python 2.1
binary release, for my favorite platform, and while I have built
readline I'm unlikely to include it in the release.  Previous
binary releases were built by someone else, and I believe he
found that including readline earned him a big hassle from one
or more GNU zealots.  The module is nice but not necessary in
my opinion, and I don't need the trouble.

	Donn Cave, donn at oz.net

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4