remove extra terminal for edit sessions
one nvim window is a fine default
This commit is contained in:
@@ -12,8 +12,6 @@ fi
|
|||||||
tmux new-session -d -s "$SESSION" -c ~/tmux/ -n "nvim"
|
tmux new-session -d -s "$SESSION" -c ~/tmux/ -n "nvim"
|
||||||
tmux send-keys -t "$SESSION":"nvim" 'nvim .' C-m
|
tmux send-keys -t "$SESSION":"nvim" 'nvim .' C-m
|
||||||
|
|
||||||
tmux new-window -t "$SESSION" -c ~/tmux/
|
|
||||||
|
|
||||||
tmux select-window -t "$SESSION":"nvim"
|
tmux select-window -t "$SESSION":"nvim"
|
||||||
if [ -n "$TMUX" ]; then
|
if [ -n "$TMUX" ]; then
|
||||||
tmux switch-client -t "$SESSION"
|
tmux switch-client -t "$SESSION"
|
||||||
|
|||||||
Reference in New Issue
Block a user