Skip to content

Commit

Permalink
Add .tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Jun 27, 2024
1 parent 0aa6d18 commit e00140d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .tmux
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

set -o errexit

# 1. Vim.
tmux send-keys -t "$1:1" "nvim" Enter

# 3. General shell use.
tmux new-window -t "$1" -c "$PWD"
tmux send-keys -t "$1:2" "git status" Enter

tmux select-window -t "$1:1"

0 comments on commit e00140d

Please sign in to comment.