Updated tmux and zsh configs

This commit is contained in:
Tim Schubert 2021-12-28 18:49:02 +01:00
parent d9d8d49278
commit 0a8480b555
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
2 changed files with 4 additions and 1 deletions

View file

@ -12,12 +12,14 @@ in
enable = true;
terminal = "xterm-256color";
extraConfig = ''
set -g automatic-rename on
setw -g mode-keys vi
set -g mouse on
set -g set-clipboard external
set -g set-titles on
set -g status on
set-option -g status-interval 5
set-option -g automatic-rename on
set-option -g automatic-rename-format '#{b:pane_current_path}'
'';
};
};

View file

@ -32,6 +32,7 @@ in
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
source ${pkgs.fzf}/share/fzf/completion.zsh
bindkey -v
bindkey '^n' autosuggest-accept
preexec() { echo -n -e "\033]0;$1\007" }