2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 32
32
enable = true ;
33
33
interactiveShellInit = ''
34
34
fish_vi_key_bindings
35
+
36
+ # start or attach to default tmux session
37
+ if not set -q TMUX
38
+ set -g TMUX tmux new-session -d -s default
39
+ eval $TMUX
40
+ tmux attach-session -d -t default
41
+ end
35
42
'' ;
36
43
shellAbbrs = {
37
44
j = "jj" ;
57
64
prefix = "C-a" ;
58
65
sensibleOnTop = true ;
59
66
plugins = with pkgs . tmuxPlugins ; [
60
- sensible
61
67
prefix-highlight
62
68
vim-tmux-navigator
63
69
catppuccin
68
74
bind c new-window -c "#{pane_current_path}"
69
75
bind '"' split-window -c "#{pane_current_path}"
70
76
bind % split-window -h -c "#{pane_current_path}"
77
+
78
+ set -gu default-command
79
+ set -g default-shell "$SHELL"
71
80
'' ;
72
81
} ;
73
82
Original file line number Diff line number Diff line change 7
7
mapleader = " " ;
8
8
} ;
9
9
10
- globalOpts = {
10
+ opts = {
11
11
number = true ;
12
12
relativenumber = true ;
13
13
shiftwidth = 2 ;
0 commit comments