ipython / ipython/ipython

TerminalInteractiveShell.editing_mode inconsitency

未关闭
#10,680 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
16.8k
派生
4.5k
平均合并
1 天 2 小时
30 天内合并 PR
6

描述

I'm just going to document this for the moment:

ipython 6.1.0
python:
- problem shows:
- 3.5.2
- 3.6.2b2 (and I think 3.6.1)
- 3.7.0dev [Python 3.7.0a0 (heads/master:a7874c7, Jun 26 2017, 21:58:56)]

O/S:
ubuntu 16.04
windows 10

`$HOME/.ipython/profile_default/ipython_config.py` settings:

c.TerminalInteractiveShell.editing_mode = 'vi'

Behavior:

with some history established:
- move up history w/ editor (e.g. `[ESC]k`)
- do some editing action on the line (no mods necessary - `i [ESC]` is sufficient)
- attempt to move to a different line in history (any line)
- e.g. attempt motion `k`
- also search `/foobar`: can select searched line, but no motion from result (except original line)
- expected:
- motion through history
- actual:
- stuck on current line

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。