[IPython-user] How do I make VI the line editor?

Brent Pedersen bpederse@gmail....
Tue Mar 31 10:03:02 CDT 2009


hi,
http://www.nabble.com/vim-mode-on-the-command-line-of-ipython-like-in-bash--td20803694.html
 just put the following into ~/.inputrc

set editing-mode vi
set keymap vi-insert



On Tue, Mar 31, 2009 at 2:59 AM, Andrea Riciputi <mr.rech.list@gmail.com> wrote:
> Hi Coert,
> I recently switched from emacs to vim, and I was wondering how to make
> ipython working in vi mode too. I googled for this but didn't found
> any howto or information. So I quit searching. It would be nice if you
> could eventually post here your results. Just as a reference to the
> other interested users.
>
> Thanks in advance,
>  Andrea
>
> On 31 Mar, 2009, at 10:33, Ville M. Vainio wrote:
>
>> On Tue, Mar 31, 2009 at 11:09 AM, Coert Waagmeester
>> <lgroups@waagmeester.co.za> wrote:
>>
>>> Or if you want to go back in command history you use the vi arrow
>>> keys,
>>> for instance Esc+k
>>>
>>>
>>> This is what I would like to do in iPython.
>>
>> IPython uses readline, so it can be done by configuring readline. Try
>> setting up a readline config file, or check ipy_defaults.py in source
>> distribution.
>>
>> --
>> Ville M. Vainio
>> http://tinyurl.com/vainio
>> _______________________________________________
>> IPython-user mailing list
>> IPython-user@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-user
>
> _______________________________________________
> IPython-user mailing list
> IPython-user@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-user mailing list