add tmux config
This commit is contained in:
parent
69a6a049d5
commit
06b317220a
9 changed files with 233 additions and 0 deletions
51
tmux/.config/tmuxinator/algo.yml
Normal file
51
tmux/.config/tmuxinator/algo.yml
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
# /home/ipu/.config/tmuxinator/algo.yml
|
||||||
|
|
||||||
|
name: algo
|
||||||
|
root: ~/Code/my/algo/
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
- editor:
|
||||||
|
- nvimp .
|
||||||
|
- shell:
|
||||||
|
-
|
||||||
51
tmux/.config/tmuxinator/bootdev-cpp.yml
Normal file
51
tmux/.config/tmuxinator/bootdev-cpp.yml
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
# /home/ipu/.config/tmuxinator/bootdev-cpp.yml
|
||||||
|
|
||||||
|
name: bootdev-cpp
|
||||||
|
root: ~/Code/my/bootdev/cpp/
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
- editor:
|
||||||
|
- nvim .
|
||||||
|
- shell:
|
||||||
|
-
|
||||||
53
tmux/.config/tmuxinator/bootdev-static-site-gen.yml
Normal file
53
tmux/.config/tmuxinator/bootdev-static-site-gen.yml
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
# /home/ipu/.config/tmuxinator/bootdev-static-site-gen.yml
|
||||||
|
|
||||||
|
name: bootdev-static-site-gen
|
||||||
|
root: ~/Code/my/bootdev/static-site-gen/
|
||||||
|
|
||||||
|
# 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: poetry shell
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
- editor:
|
||||||
|
- poetry run nvim .
|
||||||
|
- zsh:
|
||||||
|
- poetry shell
|
||||||
|
- git:
|
||||||
|
- lazygit
|
||||||
55
tmux/.config/tmuxinator/work-ape.yml
Normal file
55
tmux/.config/tmuxinator/work-ape.yml
Normal file
|
|
@ -0,0 +1,55 @@
|
||||||
|
# /home/ipu/.config/tmuxinator/work-ape.yml
|
||||||
|
|
||||||
|
name: work-ape
|
||||||
|
root: ~/Code/work/ape/
|
||||||
|
|
||||||
|
# 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:
|
||||||
|
- server:
|
||||||
|
- ssh ape
|
||||||
|
- editor-app:
|
||||||
|
- cd app
|
||||||
|
- nvimp .
|
||||||
|
- git:
|
||||||
|
- cd app
|
||||||
|
- lazygit
|
||||||
19
tmux/.tmux.conf
Normal file
19
tmux/.tmux.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
set -g @plugin 'egel/tmux-gruvbox'
|
||||||
|
set -g @tmux-gruvbox 'dark'
|
||||||
|
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
# set window count from 1
|
||||||
|
set -g base-index 1
|
||||||
|
setw -g pane-base-index 1
|
||||||
|
|
||||||
|
|
||||||
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-a
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
|
||||||
1
tmux/.tmux/plugins/tmux-gruvbox
Submodule
1
tmux/.tmux/plugins/tmux-gruvbox
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 245e31430fb7298e02ef0d4030905b49d0385746
|
||||||
1
tmux/.tmux/plugins/tmux-resurrect
Submodule
1
tmux/.tmux/plugins/tmux-resurrect
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit cff343cf9e81983d3da0c8562b01616f12e8d548
|
||||||
1
tmux/.tmux/plugins/tmux-sensible
Submodule
1
tmux/.tmux/plugins/tmux-sensible
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa
|
||||||
1
tmux/.tmux/plugins/tpm
Submodule
1
tmux/.tmux/plugins/tpm
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946
|
||||||
Loading…
Add table
Add a link
Reference in a new issue