mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-03 18:25:32 +01:00
Add .tmux
This commit is contained in:
parent
0aa6d18cd4
commit
e00140d4af
1 changed files with 12 additions and 0 deletions
12
.tmux
Executable file
12
.tmux
Executable file
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue