Update tmux configs
This commit is contained in:
9
config/tmux/sessions/aftershoot
Executable file
9
config/tmux/sessions/aftershoot
Executable file
@@ -0,0 +1,9 @@
|
||||
tmux new-session -d -s 'aftershoot' -n 'neovim' -c ~/Projects/aftershoot/rust-backend
|
||||
tmux new-window -t aftershoot -n shell -c ~/Projects/aftershoot/rust-backend
|
||||
tmux new-window -t aftershoot -c ~/Projects/aftershoot/rust-backend
|
||||
tmux new-window -t aftershoot -c ~/Projects/aftershoot/rust-backend
|
||||
tmux new-window -t aftershoot -c ~/Projects/aftershoot/desktop-app
|
||||
tmux new-window -t aftershoot -c ~/Projects/aftershoot/desktop-app
|
||||
# tmux new-window -t aftershoot -c ~/Projects/aftershoot/python-backend
|
||||
# tmux new-window -t aftershoot -c ~/Projects/aftershoot/python-backend
|
||||
tmux select-window -t aftershoot:0
|
||||
@@ -1,6 +1,5 @@
|
||||
tmux new-session -d -s 'default' -n 'neovim'
|
||||
tmux new-window -t default -n 'shell'
|
||||
#tmux split-window -t default:1.0 -h*/
|
||||
#tmux split-window -t default:1.1 */
|
||||
#tmux resize-pane -t default:1.2 -x 60 -y 20*/
|
||||
tmux new-window -t default -n 'shell'
|
||||
# tmux new-window -t default -n 'IRC'
|
||||
# tmux send-keys -t default:IRC "irssi" Enter
|
||||
tmux select-window -t default:0
|
||||
|
||||
3
config/tmux/sessions/go
Normal file
3
config/tmux/sessions/go
Normal file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'go' -n 'neovim' -c ~/go
|
||||
tmux new-window -t go -n shell -c ~/go
|
||||
tmux select-window -t go:0
|
||||
5
config/tmux/sessions/hexwords
Executable file
5
config/tmux/sessions/hexwords
Executable file
@@ -0,0 +1,5 @@
|
||||
tmux new-session -d -s 'hexwords' -n 'neovim' -c ~/Projects/hexwords
|
||||
tmux new-window -t hexwords -n shell -c ~/Projects/hexwords
|
||||
tmux new-window -t hexwords -n npm -c ~/Projects/hexwords/docs
|
||||
tmux send-keys -t hexwords:npm "yarn start" Enter
|
||||
tmux select-window -t hexwords:0
|
||||
3
config/tmux/sessions/hxrd
Executable file
3
config/tmux/sessions/hxrd
Executable file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'hxrd' -n 'neovim' -c ~/Projects/rust/hxrd
|
||||
tmux new-window -t hxrd -n shell -c ~/Projects/rust/hxrd
|
||||
tmux select-window -t hxrd:0
|
||||
3
config/tmux/sessions/jekyll
Normal file
3
config/tmux/sessions/jekyll
Normal file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'jekyll' -n 'neovim' -c ~/Projects/uttarayan21.github.io
|
||||
tmux new-window -t jekyll -n shell -c ~/Projects/uttarayan21.github.io
|
||||
tmux select-window -t jekyll:0
|
||||
3
config/tmux/sessions/sandsim
Executable file
3
config/tmux/sessions/sandsim
Executable file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'sandsim' -n 'neovim' -c ~/Projects/sandsim
|
||||
tmux new-window -t sandsim -n shell -c ~/Projects/sandsim
|
||||
tmux select-window -t sandsim:0
|
||||
3
config/tmux/sessions/solana
Executable file
3
config/tmux/sessions/solana
Executable file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'solana' -n 'neovim' -c ~/Projects/solana
|
||||
tmux new-window -t solana -n shell -c ~/Projects/solana
|
||||
tmux select-window -t solana:0
|
||||
3
config/tmux/sessions/wasm
Executable file
3
config/tmux/sessions/wasm
Executable file
@@ -0,0 +1,3 @@
|
||||
tmux new-session -d -s 'wasm' -n 'neovim' -c ~/Projects/wasm
|
||||
tmux new-window -t wasm -n shell -c ~/Projects/wasm
|
||||
tmux select-window -t wasm:0
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
live_sessions=$(tmux list-sessions 2>/dev/null)
|
||||
all_sessions=$(find ~/.config/tmux/sessions -type f -executable -printf '%f\n')
|
||||
all_sessions=$(find ~/.config/tmux/sessions -type f -executable -printf '%f\n'| sort)
|
||||
TMUX_SESSIONS="$HOME/.config/tmux/sessions"
|
||||
# for some reason ~/.config/tmux/session doesn't work if made with quotes
|
||||
# TMUX_SESSIONS=$XDG_CONFIG_HOME/tmux/sessions
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'uttarayan21/tmux-wombat'
|
||||
set -g @plugin 'uttarayan21/tmux-notmuch'
|
||||
set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
set -g @plugin 'wfxr/tmux-fzf-url'
|
||||
|
||||
|
||||
# set -g @dracula-show-powerline true
|
||||
@@ -16,7 +16,7 @@ set -g @plugin 'tmux-plugins/tmux-battery'
|
||||
# load plugin manager
|
||||
run -b '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
set -g default-terminal 'tmux-256color'
|
||||
set -g default-terminal 'xterm-256color'
|
||||
set -ga terminal-overrides ',*256col*:Tc'
|
||||
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
|
||||
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
|
||||
|
||||
Reference in New Issue
Block a user