mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 16:22:56 +00:00
use shift+enter for completion in terminal
This commit is contained in:
parent
40424a0102
commit
38695b29bd
@ -23,8 +23,8 @@
|
||||
key_bindings = [
|
||||
# Used for word completion in fish_user_key_bindings
|
||||
{
|
||||
key = "L";
|
||||
mods = "Control|Shift";
|
||||
key = "Return";
|
||||
mods = "Shift";
|
||||
chars = "\\x1F";
|
||||
}
|
||||
# Used for searching nixpkgs in fish_user_key_bindings
|
||||
|
@ -9,7 +9,10 @@
|
||||
environment = { };
|
||||
extraConfig = "";
|
||||
font.size = 14;
|
||||
keybindings = { };
|
||||
keybindings = {
|
||||
"shift+enter" = "send_text all \\x1F";
|
||||
"super+f" = "toggle_fullscreen";
|
||||
};
|
||||
settings = {
|
||||
|
||||
# Colors (adapted from: https://github.com/kdrag0n/base16-kitty/blob/master/templates/default-256.mustache)
|
||||
|
@ -720,7 +720,7 @@ shell:
|
||||
# in the order they were defined in.
|
||||
key_bindings:
|
||||
# Used for word completion in fish_user_key_bindings
|
||||
- { key: L, mods: Control|Shift, chars: "\x1F" }
|
||||
- { key: Return, mods: Shift, chars: "\x1F" }
|
||||
# Used for searching nixpkgs in fish_user_key_bindings
|
||||
- { key: N, mods: Control|Shift, chars: "\x11F" }
|
||||
- { key: H, mods: Control|Shift, mode: ~Vi, action: ToggleViMode }
|
||||
|
Loading…
Reference in New Issue
Block a user