as-services/.tmux.conf
devthejo 16b7e7d6aa
All checks were successful
/ build (map[dockerfile:./services/hasura/Dockerfile name:hasura]) (push) Successful in 47s
/ build (map[dockerfile:./services/web/Dockerfile name:web]) (push) Successful in 1m47s
/ build (map[dockerfile:./services/watchers/Dockerfile name:watchers]) (push) Successful in 2m37s
/ build (map[dockerfile:./services/files/Dockerfile name:files]) (push) Successful in 2m52s
/ build (map[dockerfile:./services/api/Dockerfile name:api]) (push) Successful in 3m2s
/ build (map[dockerfile:./services/app/Dockerfile name:app]) (push) Successful in 31s
/ build (map[dockerfile:./services/tasks/Dockerfile name:tasks]) (push) Successful in 2m44s
/ deploy (push) Successful in 48s
chore(init): available sources
2025-04-13 10:46:53 +02:00

45 lines
No EOL
1 KiB
Bash

# sensitivity for vim
set -s escape-time 0
set -g mouse on
setw -g mode-keys vi
# increase history size
set-option -g history-limit 10000
bind-key -T copy-mode-vi v send -X begin-selection
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
# better titles for Rofi switch mode
set-option -g set-titles on
set-option -g set-titles-string "#S - #W"
# map prefix to default Ctrl+b
set-option -g prefix C-b
bind-key C-b send-prefix
# remaps to avoid confirm prompt
# bind-key & kill-window
# bind-key x kill-pane
# bind-key X kill-session
# map C-a to toggle panes sync
bind C-a set-window-option synchronize-panes
# remap pane navigation to Alt + HJKL
bind-key -n C-Left select-pane -L
bind-key -n C-Down select-pane -D
bind-key -n C-Up select-pane -U
bind-key -n C-Right select-pane -R
# remap window navigation to Alt + NP
bind-key -n M-p previous-window
bind-key -n M-n next-window
# remap pane zoom to Alt + Z
bind-key -n M-z resize-pane -Z
# notes:
# use Shift + Mouse to allow text selection