tmux
This commit is contained in:
parent
c2c1491088
commit
1262f8853c
|
@ -6,6 +6,7 @@
|
|||
./firefox.nix
|
||||
./vscode.nix
|
||||
./fzf.nix
|
||||
./tmux.nix
|
||||
# ./thunderbird.nix
|
||||
];
|
||||
|
||||
|
|
18
users/tacocat/programs/tmux.nix
Normal file
18
users/tacocat/programs/tmux.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.tmux = {
|
||||
enable = true;
|
||||
escapeTime = 0;
|
||||
clock24 = true;
|
||||
mouse = true;
|
||||
newSession = true;
|
||||
shell = "${pkgs.fish}/bin/fish";
|
||||
sensibleOnTop = true;
|
||||
terminal = "screen-256color";
|
||||
# extraConfig = ''
|
||||
# set -g default-terminal "screen-256color"
|
||||
# '';
|
||||
};
|
||||
}
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
fish_vi_key_bindings
|
||||
set -g fish_cursor_insert line
|
||||
|
||||
if not set -q TMUX
|
||||
tmux attach
|
||||
end
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue