try to fix tmux key issues
This commit is contained in:
parent
566d709ca8
commit
09eeb75f47
5 changed files with 8 additions and 9 deletions
|
|
@ -13,6 +13,8 @@
|
||||||
pull.rebase = false;
|
pull.rebase = false;
|
||||||
|
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
|
||||||
|
rerere.enabled = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
difftastic = {
|
difftastic = {
|
||||||
|
|
@ -52,7 +54,7 @@
|
||||||
".apdisk"
|
".apdisk"
|
||||||
|
|
||||||
# direnv things
|
# direnv things
|
||||||
"/.direnv"
|
".direnv"
|
||||||
|
|
||||||
# local only files
|
# local only files
|
||||||
"*.local"
|
"*.local"
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,8 @@ bind C-d detach
|
||||||
|
|
||||||
# ==========
|
# ==========
|
||||||
# My options
|
# My options
|
||||||
set -g default-terminal "xterm-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set-option -g terminal-overrides ',xterm-256color:RGB'
|
set-option -g terminal-overrides ',tmux-256color:RGB'
|
||||||
set-option -sa terminal-features ',xterm:LRGB'
|
|
||||||
set -g detach-on-destroy off
|
set -g detach-on-destroy off
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
set -g status-position top
|
set -g status-position top
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
mouse = true;
|
mouse = true;
|
||||||
keyMode = "vi";
|
keyMode = "vi";
|
||||||
shell = "${pkgs.zsh}/bin/zsh";
|
shell = "${pkgs.zsh}/bin/zsh";
|
||||||
terminal = "screen-256color";
|
terminal = "tmux-256color";
|
||||||
aggressiveResize = true;
|
aggressiveResize = true;
|
||||||
sensibleOnTop = false;
|
sensibleOnTop = false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@
|
||||||
# Enable editing command in external editor
|
# Enable editing command in external editor
|
||||||
autoload -Uz edit-command-line
|
autoload -Uz edit-command-line
|
||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
|
# fix delete key
|
||||||
|
bindkey "^[[3~" delete-char
|
||||||
# Try multiple bindings for edit-command-line
|
# Try multiple bindings for edit-command-line
|
||||||
bindkey '^X^E' edit-command-line # Traditional Ctrl+X,Ctrl+E binding
|
bindkey '^X^E' edit-command-line # Traditional Ctrl+X,Ctrl+E binding
|
||||||
bindkey '^[^M' edit-command-line # Alt+Enter
|
bindkey '^[^M' edit-command-line # Alt+Enter
|
||||||
|
|
@ -38,4 +40,3 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
3
hosts/lio/flake.lock
generated
3
hosts/lio/flake.lock
generated
|
|
@ -67,9 +67,6 @@
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nix-flatpak": "nix-flatpak",
|
"nix-flatpak": "nix-flatpak",
|
||||||
"nixpkgs-unstable": [
|
|
||||||
"nixpkgs-unstable"
|
|
||||||
],
|
|
||||||
"ragenix": "ragenix"
|
"ragenix": "ragenix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue