Add default keybinding for SpawnNewInstance on macOS
This commit is contained in:
parent
6ad0be5fb3
commit
64db7d3daa
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## 0.5.0-dev
|
## 0.5.0-dev
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Default Command+N keybinding for SpawnNewInstance on macOS
|
||||||
|
|
||||||
## 0.4.2-dev
|
## 0.4.2-dev
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
|
@ -527,6 +527,7 @@
|
||||||
#- { key: M, mods: Command, action: Minimize }
|
#- { key: M, mods: Command, action: Minimize }
|
||||||
#- { key: Q, mods: Command, action: Quit }
|
#- { key: Q, mods: Command, action: Quit }
|
||||||
#- { key: W, mods: Command, action: Quit }
|
#- { key: W, mods: Command, action: Quit }
|
||||||
|
#- { key: N, mods: Command, action: SpawnNewInstance }
|
||||||
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
||||||
|
|
||||||
#- { key: Paste, action: Paste }
|
#- { key: Paste, action: Paste }
|
||||||
|
|
|
@ -433,6 +433,7 @@ pub fn platform_key_bindings() -> Vec<KeyBinding> {
|
||||||
Add, ModifiersState::LOGO; Action::IncreaseFontSize;
|
Add, ModifiersState::LOGO; Action::IncreaseFontSize;
|
||||||
Minus, ModifiersState::LOGO; Action::DecreaseFontSize;
|
Minus, ModifiersState::LOGO; Action::DecreaseFontSize;
|
||||||
Insert, ModifiersState::SHIFT; Action::Esc("\x1b[2;2~".into());
|
Insert, ModifiersState::SHIFT; Action::Esc("\x1b[2;2~".into());
|
||||||
|
N, ModifiersState::LOGO; Action::SpawnNewInstance;
|
||||||
F, ModifiersState::CTRL | ModifiersState::LOGO; Action::ToggleFullscreen;
|
F, ModifiersState::CTRL | ModifiersState::LOGO; Action::ToggleFullscreen;
|
||||||
K, ModifiersState::LOGO; Action::ClearHistory;
|
K, ModifiersState::LOGO; Action::ClearHistory;
|
||||||
K, ModifiersState::LOGO; Action::Esc("\x0c".into());
|
K, ModifiersState::LOGO; Action::Esc("\x0c".into());
|
||||||
|
|
Loading…
Reference in New Issue