Update tmux configs

This commit is contained in:
Uttarayan Mondal
2022-02-14 23:42:53 +05:30
parent c386fa12cd
commit 471c328ef1
11 changed files with 38 additions and 7 deletions

View 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

View File

@@ -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 'IRC'
# tmux send-keys -t default:IRC "irssi" Enter
tmux select-window -t default:0

3
config/tmux/sessions/go Normal file
View 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
View 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
View 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

View 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
View 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
View 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
View 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

View File

@@ -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

View File

@@ -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'