Updated tmux and zsh configs
This commit is contained in:
parent
d9d8d49278
commit
0a8480b555
2 changed files with 4 additions and 1 deletions
|
@ -12,12 +12,14 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "xterm-256color";
|
terminal = "xterm-256color";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g automatic-rename on
|
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set -g set-clipboard external
|
set -g set-clipboard external
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
set -g status 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}'
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,6 +32,7 @@ in
|
||||||
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
source ${pkgs.fzf}/share/fzf/key-bindings.zsh
|
||||||
source ${pkgs.fzf}/share/fzf/completion.zsh
|
source ${pkgs.fzf}/share/fzf/completion.zsh
|
||||||
|
|
||||||
|
bindkey -v
|
||||||
bindkey '^n' autosuggest-accept
|
bindkey '^n' autosuggest-accept
|
||||||
|
|
||||||
preexec() { echo -n -e "\033]0;$1\007" }
|
preexec() { echo -n -e "\033]0;$1\007" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue