How do I use vi keys in ipython under *nix?

前端 未结 6 1220
闹比i
闹比i 2020-12-04 07:48

Currently in Bash I use set -o vi to enable vi mode in my bash prompt.

How do I get this going in ipython?

Note: If an answer applies t

6条回答
  •  有刺的猬
    2020-12-04 08:08

    Looks like a solution works for many other readline compatible apps:

    Set the following in your ~/.inputrc file:

    set editing-mode vi
    set keymap vi
    set convert-meta on
    

    Source: http://www.jukie.net/bart/blog/20040326082602

提交回复
热议问题