Bind ctrl space in tmux to copy mode

Remove alacritty vi mode copy
Add multiple tmux settings
Add forced terminal colors to tmux
Change alacritty font size
This commit is contained in:
Robin C. 2025-01-21 07:23:24 +01:00
parent cb35593ff1
commit 1bac768d86
2 changed files with 46 additions and 5 deletions

View File

@ -14,7 +14,7 @@ multiplier = 1
[font] [font]
normal = { family = "Hack", style = "Regular" } normal = { family = "Hack", style = "Regular" }
size = 11.5 size = 12
[colors] [colors]
transparent_background_colors = true transparent_background_colors = true
@ -26,4 +26,9 @@ background = "#1e1f29"
hide_when_typing = true hide_when_typing = true
[env] [env]
TERM = "xterm-256color" TERM = "xterm-256color"
[keyboard]
bindings = [
{ key = "Space", mods = "Control|Shift", action = "ReceiveChar" }
]

View File

@ -1,8 +1,44 @@
# Bind Prefix + r to reload the config
bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display-message "Config reloaded!" bind r source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display-message "Config reloaded!"
# Bind Ctrl + Space to enter copy mode
bind -n C-Space copy-mode
set-window-option -g mode-keys vi
set -g status-right "#[fg=yellow]Copy Mode#[default]"
set -g status on
set -g mouse on
set-option -g history-limit 5000
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
set -sa terminal-overrides "*:Tc"
# Dracula settings
set -g @dracula-plugins "battery weather time"
set -g @dracula-show-empty-plugins false
set -g @dracula-left-icon-padding 0
set -g @dracula-show-powerline true
set -g @dracula-show-left-sep 
set -g @dracula-show-right-sep 
set -g @dracula-battery-label false
set -g @dracula-show-battery-status true
set -g @dracula-no-battery-label false
set -g @dracula-show-fahrenheit false
set -g @dracula-show-location false
set -g @dracula-time-format "%R"
# Plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'dracula/tmux' set -g @plugin 'dracula/tmux'
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'
set -g status on