vim: add plugins, tmux: status bar, fix Ctrl+A clash

- Add vim-gitgutter, vim-commentary, vim-surround via install
script
- Rebind git log widget from Ctrl+A to Ctrl+T (tmux prefix
clash)
- Add date, time, and battery indicator to tmux status
bar
- Set tmux clock colour to teal

Co-authored-by: Copilot
<223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-24 16:05:23 +00:00
parent b048694363
commit 2acae0b4f2
7 changed files with 67 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ set -g status-position bottom
set -g status-interval 5
set -g status-style "fg=#728cb8,bg=default"
set -g status-left ""
set -g status-right ""
set -g status-right "#[fg=#808080]%a %d %b #[fg=#2cb494,bold]%H:%M #(~/.tmux/battery.sh)"
set -g window-status-format " #I:#W "
set -g window-status-current-format "#[fg=#2cb494,bold] #I:#W "
set -g window-status-bell-style "fg=#f88c14,bold"
@@ -71,6 +71,7 @@ set -g message-style "fg=#2cb494,bg=default"
set -g message-command-style "fg=#f88c14,bg=default"
set -g mode-style "fg=default,bg=#728cb8,bold"
# Auto-rename
# Clock
set -g clock-mode-colour "#2cb494"
set -g automatic-rename on
set -g automatic-rename-format '#{?#{==:#{pane_current_command},zsh},zsh:#{b:pane_current_path},#{pane_current_command}}'