mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 22:12: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 = [
|
key_bindings = [
|
||||||
# Used for word completion in fish_user_key_bindings
|
# Used for word completion in fish_user_key_bindings
|
||||||
{
|
{
|
||||||
key = "L";
|
key = "Return";
|
||||||
mods = "Control|Shift";
|
mods = "Shift";
|
||||||
chars = "\\x1F";
|
chars = "\\x1F";
|
||||||
}
|
}
|
||||||
# Used for searching nixpkgs in fish_user_key_bindings
|
# Used for searching nixpkgs in fish_user_key_bindings
|
||||||
|
@ -9,7 +9,10 @@
|
|||||||
environment = { };
|
environment = { };
|
||||||
extraConfig = "";
|
extraConfig = "";
|
||||||
font.size = 14;
|
font.size = 14;
|
||||||
keybindings = { };
|
keybindings = {
|
||||||
|
"shift+enter" = "send_text all \\x1F";
|
||||||
|
"super+f" = "toggle_fullscreen";
|
||||||
|
};
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
# Colors (adapted from: https://github.com/kdrag0n/base16-kitty/blob/master/templates/default-256.mustache)
|
# 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.
|
# in the order they were defined in.
|
||||||
key_bindings:
|
key_bindings:
|
||||||
# Used for word completion in fish_user_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
|
# Used for searching nixpkgs in fish_user_key_bindings
|
||||||
- { key: N, mods: Control|Shift, chars: "\x11F" }
|
- { key: N, mods: Control|Shift, chars: "\x11F" }
|
||||||
- { key: H, mods: Control|Shift, mode: ~Vi, action: ToggleViMode }
|
- { key: H, mods: Control|Shift, mode: ~Vi, action: ToggleViMode }
|
||||||
|
Loading…
Reference in New Issue
Block a user