fix(tmux): launch vim in interactive shell
This commit is contained in:
parent
21118ee46e
commit
92f8caf8b7
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue