In ipythons vi readline editing mode, commands dw, de, dd does not work as intended.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipython (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
$ ipython -Version
0.10.1
$ apt-cache policy ipython
ipython:
Installed: 0.10.1-1ubuntu0.1
Candidate: 0.10.1-1ubuntu0.1
Version table:
*** 0.10.1-1ubuntu0.1 0
500 http://
100 /var/lib/
0.10.1-1 0
500 http://
Readline config:
$ cat ~/.inputrc
set editing-mode vi
set blink-matching-
$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
Laptop is a Lenovo ideapad S10-3
If I start ipython in gnome terminal or xterm, write some code on a line, hit esc and try to edit the line with editing commands (vi editing mode), then movement commands work fine, but deletion commands like "dw" and "de" needs "dww" and "dee" instead. "dd" does not work even with an extra letter.
Readline in bash command line works as normal.
I've tried removing ~/.ipython and logging into another user account, but the problem persists.
The extra letter needed in the editing commands can be any other letter, and the extra letter is also executed. So if I input "dw" in editing mode nothing happens, but if I add "l" a word is deleted and the cursor moved to the right. Seems like editing commands beginning with the letter "d" is delayed in a buffer.