-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmux.nix
55 lines (51 loc) · 1.44 KB
/
tmux.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
pkgs:
{
enable = true;
shortcut = "a";
aggressiveResize = true;
baseIndex = 1;
newSession = true;
escapeTime = 0;
terminal = "xterm-256color";
mouse = true;
clock24 = true;
keyMode = "vi";
prefix = "c-a";
historyLimit = 10000;
plugins = with pkgs.tmuxPlugins; [
better-mouse-mode
{
plugin = catppuccin;
extraConfig= ''
set -g @catppuccin_flavour 'latte'
set -g @catppuccin_window_left_separator '█'
set -g @catppuccin_window_right_separator '█'
set -g @catppuccin_status_left_separator '█'
set -g @catppuccin_status_right_separator '█'
# set -g @catppuccin_window_current_text "#{pane_current_path}"
set -g @catppuccin_directory_text "#{pane_current_path}"
'';
}
{
plugin = resurrect;
extraConfig = ''
set -g @resurrect-strategy-vim 'session'
set -g @resurrect-strategy-nvim 'session'
set -g @resurrect-capture-pane-contents 'on'
'';
}
{
plugin = continuum;
extraConfig = ''
set -g @continuum-restore 'on'
set -g @continuum-boot 'on'
set -g @continuum-save-interval '10'
'';
}
vim-tmux-navigator
yank
];
extraConfig = ''
set -g status-position top
'';
}