mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
parent
d0301ef655
commit
0aa1df327b
3 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||
- Urgency support on Windows
|
||||
- Customizable keybindings for search
|
||||
- History for search mode, bound to ^P/^N/Up/Down by default
|
||||
- Default binding to cancel search on Ctrl+C
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -742,6 +742,7 @@
|
|||
# Search Mode
|
||||
#- { key: Return, mode: Search|Vi, action: SearchConfirm }
|
||||
#- { key: Escape, mode: Search, action: SearchCancel }
|
||||
#- { key: C, mods: Control, mode: Search, action: SearchCancel }
|
||||
#- { key: U, mods: Control, mode: Search, action: SearchClear }
|
||||
#- { key: W, mods: Control, mode: Search, action: SearchDeleteWord }
|
||||
#- { key: P, mods: Control, mode: Search, action: SearchHistoryPrevious }
|
||||
|
|
|
@ -507,6 +507,7 @@ pub fn default_key_bindings() -> Vec<KeyBinding> {
|
|||
Return, +BindingMode::SEARCH, +BindingMode::VI;
|
||||
SearchAction::SearchConfirm;
|
||||
Escape, +BindingMode::SEARCH; SearchAction::SearchCancel;
|
||||
C, ModifiersState::CTRL, +BindingMode::SEARCH; SearchAction::SearchCancel;
|
||||
U, ModifiersState::CTRL, +BindingMode::SEARCH; SearchAction::SearchClear;
|
||||
W, ModifiersState::CTRL, +BindingMode::SEARCH; SearchAction::SearchDeleteWord;
|
||||
P, ModifiersState::CTRL, +BindingMode::SEARCH; SearchAction::SearchHistoryPrevious;
|
||||
|
|
Loading…
Reference in a new issue