Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions prompt_toolkit/key_binding/bindings/named_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,13 @@ def accept_line(event):

@register('previous-history')
def previous_history(event):
" Move `back' through the history list, fetching the previous command. "
" Move `back` through the history list, fetching the previous command. "
event.current_buffer.history_backward(count=event.arg)


@register('next-history')
def next_history(event):
" Move `forward' through the history list, fetching the next command. "
" Move `forward` through the history list, fetching the next command. "
event.current_buffer.history_forward(count=event.arg)


Expand All @@ -163,7 +163,7 @@ def end_of_history(event):
@register('reverse-search-history')
def reverse_search_history(event):
"""
Search backward starting at the current line and moving `up' through
Search backward starting at the current line and moving `up` through
the history as necessary. This is an incremental search.
"""
event.cli.current_search_state.direction = IncrementalSearchDirection.BACKWARD
Expand Down