dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 1a08d7b76fb1cd987355cd3c27060f005fa887d0
parent c0246c3f0162b3028741a39244ee1e16e13258ed
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 27 Apr 2020 16:28:04 +0200

tmuxinator config


Former-commit-id: c73909e540a3ae29d4c85ff184e12d97bdef25fd
Diffstat:
Mdot.map | 1+
Mshell/aliases | 1+
Mtmux/tmux.conf | 2+-
Atmuxinator/dash.yml | 50++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 53 insertions(+), 1 deletion(-)

diff --git a/dot.map b/dot.map @@ -28,6 +28,7 @@ screen: - screenrc: ~/.screenrc tmux: - tmux.conf: ~/.config/tmux/tmux.conf +tmuxinator: ~/.config/tmuxinator ghci: ~/.ghci mpv: ~/.config/mpv mps-youtube: diff --git a/shell/aliases b/shell/aliases @@ -19,3 +19,4 @@ alias j='joplin' alias tree="tree -CAFa -I 'CVS|*.*.package|.svn|.git|node_modules' --dirsfirst" # Colorize, ANSI graphics hack, indicate ft with appendices, print all files, ignore certain patterns, list dirs first alias lsblk="lsblk -o NAME,LABEL,PARTLABEL,TYPE,FSTYPE,SIZE,MOUNTPOINT,STATE" # The columns I want to see in lsblk alias confucius="curl confucius-quote.herokuapp.com" # A joke curl service I made +alias tx="tmuxinator" diff --git a/tmux/tmux.conf b/tmux/tmux.conf @@ -112,7 +112,7 @@ bind -r C-k resize-pane -U bind -r C-l resize-pane -R # Split & join panes -bind Enter break-pane +bind T break-pane bind J command-prompt -p "join pane from:" "join-pane -s '%%'" # Listing panes diff --git a/tmuxinator/dash.yml b/tmuxinator/dash.yml @@ -0,0 +1,50 @@ +# /Users/alex/.config/tmuxinator/dash.yml + +name: dash +root: ~/ + +# Optional tmux socket +# socket_name: foo + +# Note that the pre and post options have been deprecated and will be replaced by +# project hooks. + +# Project hooks +# Runs on project start, always +# on_project_start: command +# Run on project start, the first time +# on_project_first_start: command +# Run on project start, after the first time +# on_project_restart: command +# Run on project exit ( detaching from tmux session ) +# on_project_exit: command +# Run on project stop +# on_project_stop: command + +# 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 + +# Specifies (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 + +windows: + - dashboard: + layout: 04ea,201x52,0,0[201x13,0,0,0,201x12,0,14,1,201x18,0,27,2,201x6,0,46,3] + panes: + - exec newsboat + - nocorrect exec tuir -s vim + - exec tuir -s rotmg + - df -h / /Volumes/HDD | exec less +