forked from NotAShelf/beer
input: kitty keyboard protocol and hex codepoint entry
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0f58c82752b9d7a8df35fe78f034c0be6a6a6964
This commit is contained in:
parent
5cba919c78
commit
e04ffc6649
8 changed files with 544 additions and 15 deletions
|
|
@ -25,6 +25,7 @@ pub enum Action {
|
|||
JumpPromptDown,
|
||||
PipeCommandOutput,
|
||||
UrlMode,
|
||||
UnicodeInput,
|
||||
}
|
||||
|
||||
impl Action {
|
||||
|
|
@ -47,6 +48,7 @@ impl Action {
|
|||
"jump-prompt-down" => Self::JumpPromptDown,
|
||||
"pipe-command-output" => Self::PipeCommandOutput,
|
||||
"url-mode" => Self::UrlMode,
|
||||
"unicode-input" => Self::UnicodeInput,
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
|
@ -185,6 +187,7 @@ const DEFAULT_BINDINGS: &[(&str, &str)] = &[
|
|||
("Ctrl+Shift+Up", "jump-prompt-up"),
|
||||
("Ctrl+Shift+Down", "jump-prompt-down"),
|
||||
("Ctrl+Shift+O", "url-mode"),
|
||||
("Ctrl+Shift+U", "unicode-input"),
|
||||
];
|
||||
|
||||
/// Map a key token to a keysym: a single character, or a named special key.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue