这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

According to

it looks like we need to set the control_is_searchable filter in order to map control-r (and escape-r) only when outside the isearch mini-mode keymap.

It isn't clear how to specify both emacs_mode and control_is_searchable as filters, so emacs_mode was removed.

Closes #1310.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format to lint and format the code.

when not using fzf.  According to

 * https://github.com/prompt-toolkit/python-prompt-toolkit/blob/3374ae9dd56f0265b41022e81341fd062092e2f0/src/prompt_toolkit/key_binding/bindings/search.py#L47-L53

it looks like we need to set the "control_is_searchable" filter in
order to map control-r (and escape-r) only when _outside_ the isearch
mini-mode keymap.

It isn't clear how to specify both emacs_mode and control_is_searchable
as filters, so emacs_mode was removed.

Closes #1310.
@rolandwalker rolandwalker requested a review from amjith August 15, 2025 11:11
@rolandwalker rolandwalker self-assigned this Aug 15, 2025
@rolandwalker rolandwalker merged commit 2189fa8 into main Aug 15, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The "incremental" part of reverse-isearch is broken

3 participants