diff --git a/script/tmuxsess b/script/tmuxsess index b17abc9..7c52d29 100755 --- a/script/tmuxsess +++ b/script/tmuxsess @@ -15,7 +15,7 @@ else fi tmux new -d -s $sessionname tmux rename-window -t $sessionname:1 cli -tmux new-window -t $sessionname -n vim nvim +tmux new-window -t $sessionname -n vim -ic nvim tmux select-window -t $sessionname:1 # https://github.com/tmux/tmux/issues/2064 sleep 0.5 diff --git a/tmux.conf b/tmux.conf index 5650979..678e3ee 100644 --- a/tmux.conf +++ b/tmux.conf @@ -24,7 +24,7 @@ bind-key v split-window -h bind-key s split-window -v bind-key p new-window \; set window-status-style fg=white,bg=red bind-key c new-window -n 'cli' -bind-key e new-window -n 'vim' nvim +bind-key e new-window -n 'vim' zsh -ic nvim bind-key C rename-window 'cli' bind-key E rename-window 'vim'