vim mode in interactive python
Timothy Grant
tjg at hyperlinq.net
Fri Apr 20 01:53:54 EDT 2001
On Fri, Apr 20, 2001 at 04:52:26AM +0000, Donn Cave wrote:
> 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.
Thanks for the input Donn. However, readline is definitely
available, so something else must be going on somewhere.
--
Stand Fast,
tjg.
Timothy Grant www.hyperlinq.net
Chief Technology Officer tjg at hyperlinq.net
HyperLINq Technologies, Inc. <>< (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted: 23 days 8:04 hours ago<<
More information about the Python-list
mailing list