diff --git a/home/modules/tmux.nix b/home/modules/tmux.nix index ab8b82c..eed1330 100644 --- a/home/modules/tmux.nix +++ b/home/modules/tmux.nix @@ -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}' ''; }; }; diff --git a/home/modules/zsh.nix b/home/modules/zsh.nix index 69d11c5..15d84c3 100644 --- a/home/modules/zsh.nix +++ b/home/modules/zsh.nix @@ -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" }