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;
|
||||
|
||||
init.defaultBranch = "main";
|
||||
|
||||
rerere.enabled = true;
|
||||
};
|
||||
|
||||
difftastic = {
|
||||
|
|
@ -52,7 +54,7 @@
|
|||
".apdisk"
|
||||
|
||||
# direnv things
|
||||
"/.direnv"
|
||||
".direnv"
|
||||
|
||||
# local only files
|
||||
"*.local"
|
||||
|
|
|
|||
|
|
@ -54,9 +54,8 @@ bind C-d detach
|
|||
|
||||
# ==========
|
||||
# My options
|
||||
set -g default-terminal "xterm-256color"
|
||||
set-option -g terminal-overrides ',xterm-256color:RGB'
|
||||
set-option -sa terminal-features ',xterm:LRGB'
|
||||
set -g default-terminal "tmux-256color"
|
||||
set-option -g terminal-overrides ',tmux-256color:RGB'
|
||||
set -g detach-on-destroy off
|
||||
set -g renumber-windows on
|
||||
set -g status-position top
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
mouse = true;
|
||||
keyMode = "vi";
|
||||
shell = "${pkgs.zsh}/bin/zsh";
|
||||
terminal = "screen-256color";
|
||||
terminal = "tmux-256color";
|
||||
aggressiveResize = true;
|
||||
sensibleOnTop = false;
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@
|
|||
# Enable editing command in external editor
|
||||
autoload -Uz edit-command-line
|
||||
zle -N edit-command-line
|
||||
# fix delete key
|
||||
bindkey "^[[3~" delete-char
|
||||
# Try multiple bindings for edit-command-line
|
||||
bindkey '^X^E' edit-command-line # Traditional Ctrl+X,Ctrl+E binding
|
||||
bindkey '^[^M' edit-command-line # Alt+Enter
|
||||
|
|
@ -38,4 +40,3 @@
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue