diff options
author | Canop <cano.petrole@gmail.com> | 2020-06-22 13:51:50 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-06-22 13:51:50 +0200 |
commit | d21fbdebbb0c58bac98e69419c8c4deb7d37a27a (patch) | |
tree | ddebe40242abc617a00a302e905ceb29902637eb /src/browser/browser_state.rs | |
parent | 0785091302b6118c19f2a6537f7a7337745af0b2 (diff) |
new internal to define readline-like input edition shortcuts
You may now add this kind of shortcuts:
```toml
[[verbs]]
key = "alt-b"
execution = ":input_go_word_left"
[[verbs]]
key = "alt-f"
execution = ":input_go_word_right"
[[verbs]]
key = "alt-l"
execution = ":input_del_word_left"
[[verbs]]
key = "alt-r"
execution = ":input_del_word_right"
```
Fix #235
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index dea0b5b..9fedacd 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -593,6 +593,7 @@ impl AppState for BrowserState { } } Internal::quit => AppStateCmdResult::Quit, + _ => AppStateCmdResult::Keep, }) } |