1
0
mirror of https://github.com/vbrandl/dotfiles synced 2024-11-23 00:13:49 +01:00

Add tmuxinator and tmux install scripts

This commit is contained in:
Valentin Brandl 2017-02-11 20:34:56 +01:00
parent ded7ab7fd6
commit 1443cb2391
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9
5 changed files with 138 additions and 0 deletions

6
meta/configs/tmux.yaml Normal file
View File

@ -0,0 +1,6 @@
- link:
~/.tmux.conf: terminals/tmux/tmux.conf
- shell:
- [tmux source-file ~/.tmux.conf, Sourcing new tmux configuration]
# vim: set filetype=yaml ts=4 sw=4 tw=0 et :

View File

@ -0,0 +1,3 @@
- link:
~/.tmuxinator: terminals/tmuxinator
# vim: set filetype=yaml ts=4 sw=4 tw=0 et :

View File

@ -0,0 +1,43 @@
# ~/.tmuxinator/chat.yml
name: chat
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t chat
windows:
- weechat:
# layout: ca3d,117x66,0,0,0
layout: main-vertical
panes:
- weechat
- music:
# layout: cfde,239x67,0,0,1
layout: main-vertical
panes:
- ncmpcpp

View File

@ -0,0 +1,43 @@
# ~/.tmuxinator/dev.yml
name: dev
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t dev
windows:
- vim:
layout: cc10,117x66,0,0[117x60,0,0,13,117x5,0,61{58x5,0,61,14,58x5,59,61,15}]
panes:
- vim
- clear
- clear
- shell:
layout: 6555,117x66,0,0,16
panes:
-

View File

@ -0,0 +1,43 @@
# ~/.tmuxinator/mail.yml
name: mail
root: ~/
# Optional tmux socket
# socket_name: foo
# Runs before everything. Use it to start daemons etc.
# pre: sudo /etc/rc.d/mysqld start
# Runs in each window and pane before window/pane specific commands. Useful for setting up interpreter versions.
# pre_window: rbenv shell 2.0.0-p247
# Pass command line options to tmux. Useful for specifying a different tmux.conf.
# tmux_options: -f ~/.tmux.mac.conf
# Change the command to call tmux. This can be used by derivatives/wrappers like byobu.
# tmux_command: byobu
# Specifies (by name or index) which window will be selected on project startup. If not set, the first window is used.
# startup_window: editor
# Specitifes (by index) which pane of the specified window will be selected on project startup. If not set, the first pane is used.
# startup_pane: 1
# Controls whether the tmux session should be attached to automatically. Defaults to true.
# attach: false
# Runs after everything. Use it to attach to tmux with custom options etc.
# post: tmux -CC attach -t mail
windows:
- mutt:
# layout: ca40,117x66,0,0,3
layout: main-vertical
panes:
- mutt
- offlineimap:
# layout: cfdf,239x67,0,0,2
layout: main-vertical
panes:
- offlineimap