MCPcopy Create free account
hub / github.com/ipython/ipython / next_history_or_next_completion

Function next_history_or_next_completion

IPython/terminal/shortcuts.py:167–173  ·  view source on GitHub ↗

Control-N in vi edit mode on readline is history previous, unlike default prompt toolkit. If completer is open this still select next completion.

(event)

Source from the content-addressed store, hash-verified

165
166
167def next_history_or_next_completion(event):
168 """
169 Control-N in vi edit mode on readline is history previous, unlike default prompt toolkit.
170
171 If completer is open this still select next completion.
172 """
173 event.current_buffer.auto_down()
174
175
176def dismiss_completion(event):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected