mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Keep bindings together
This commit is contained in:
@@ -1,13 +1,6 @@
|
|||||||
# Theme
|
# Theme
|
||||||
source-file ~/.config/omarchy/current/theme/tmux.conf
|
source-file ~/.config/omarchy/current/theme/tmux.conf
|
||||||
|
|
||||||
# Reload config
|
|
||||||
bind M-r source-file ~/.config/tmux/tmux.conf
|
|
||||||
|
|
||||||
# Rename window / session
|
|
||||||
bind r command-prompt -I "#W" "rename-window -- '%%'"
|
|
||||||
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
|
||||||
|
|
||||||
# General
|
# General
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set -ag terminal-overrides ",*:RGB"
|
set -ag terminal-overrides ",*:RGB"
|
||||||
@@ -29,6 +22,13 @@ set -g status-left-length 30
|
|||||||
set -g status-right-length 50
|
set -g status-right-length 50
|
||||||
set -g window-status-separator ""
|
set -g window-status-separator ""
|
||||||
|
|
||||||
|
# Reload config
|
||||||
|
bind M-r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
|
# Rename window / session
|
||||||
|
bind r command-prompt -I "#W" "rename-window -- '%%'"
|
||||||
|
bind R command-prompt -I "#S" "rename-session -- '%%'"
|
||||||
|
|
||||||
# Vi mode for copy
|
# Vi mode for copy
|
||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
bind -T copy-mode-vi v send -X begin-selection
|
bind -T copy-mode-vi v send -X begin-selection
|
||||||
|
|||||||
Reference in New Issue
Block a user