nushell/crates/nu-cli/src
Darren Schroeder 066790552a
add keybinding for search-history (#9930)
# Description

This PR adds a keybinding in the rust code for `search-history` aka
reverse-search as `ctrl+q` so it does not overwrite `history-search`
with `ctrl+r` as it does now.

This PR supercedes #9862. Thanks to @SUPERCILEX for bringing this to our
attention.

# User-Facing Changes
<!-- List of all changes that impact the user experience here. This
helps us keep track of breaking changes. -->

# Tests + Formatting
<!--
Don't forget to add tests that cover your changes.

Make sure you've run and fixed any issues with these commands:

- `cargo fmt --all -- --check` to check standard code formatting (`cargo
fmt --all` applies these changes)
- `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A
clippy::needless_collect -A clippy::result_large_err` to check that
you're using the standard code style
- `cargo test --workspace` to check that all tests pass
- `cargo run -- -c "use std testing; testing run-tests --path
crates/nu-std"` to run the tests for the standard library

> **Note**
> from `nushell` you can also use the `toolkit` as follows
> ```bash
> use toolkit.nu # or use an `env_change` hook to activate it
automatically
> toolkit check pr
> ```
-->

# After Submitting
<!-- If your PR had any user-facing changes, update [the
documentation](https://github.com/nushell/nushell.github.io) after the
PR is merged, if necessary. This will help us keep the docs up to date.
-->
2023-08-06 06:59:06 -05:00
..
commands Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
completions Apply nightly clippy lints (#9654) 2023-07-12 00:00:31 +02:00
menus Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
config_files.rs Fix config creation during printing (#9353) 2023-06-04 22:04:28 +03:00
eval_cmds.rs Move CLI related commands to nu-cli (#8832) 2023-04-10 10:56:47 +12:00
eval_file.rs Remove broken compile-time overload system (#9677) 2023-07-14 07:05:03 +12:00
lib.rs cratification: move the bytes command to nu-cmd-extra (#9509) 2023-06-23 12:23:08 -07:00
nu_highlight.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
print.rs allow print to take data as input again (#9823) 2023-07-27 21:40:25 +02:00
prompt.rs Fix default prompt indicators (#9914) 2023-08-05 04:47:46 +12:00
prompt_update.rs remove nu_cli crate dependency from nu_std (#8807) 2023-04-08 13:53:43 +02:00
reedline_config.rs add keybinding for search-history (#9930) 2023-08-06 06:59:06 -05:00
repl.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
syntax_highlight.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
util.rs Replace &Span with Span since Span is Copy (#9770) 2023-07-31 21:47:46 +02:00
validation.rs Remove old alias implementation (#8797) 2023-04-07 21:09:38 +03:00