1. Set `kickstart` to latest commit 2. Upgrade `mise` utilities * `bitwarden from 2024.7.2 to 2024.9.0 * `circleci-cli from 0.1.30549 to 0.1.30995 * `ctlptl from 0.8.31 to 0.8.34 * `dagger from 0.12.5 to 0.13.5 * `eksctl from 0.188.0 to 0.193.0 * `eza from 0.19.0 to 0.20.4 * `fzf from 0.53.0 to 0.55.0 * `k3d` from 5.7.3 to 5.7.4 * `kubie from 0.23.1 to 0.24.0 * `lefthook from 1.7.13 to 1.8.0 * `ripgrep from 14.1.0 to 14.1.1 * `starship from 1.20.1 to 1.21.1 * `task from 3.38.0 to 3.39.2 * `tilt from 0.33.19 to 0.33.20 * `usage from 0.3.0 to 0.11.0 * `usql from 0.19.3 to 0.19.4 * `zoxide from 0.9.4 to 0.9.6 3. Add `github-cli` 4. Improve `tmux` and `tmuxp` config Reviewed-on: #96 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
76 lines
1.6 KiB
Bash
76 lines
1.6 KiB
Bash
# Based on:
|
|
# https://github.com/henrik/dotfiles/blob/master/tmux.conf
|
|
|
|
# Remap Prefix to C-a
|
|
unbind C-b
|
|
set -g prefix C-a
|
|
|
|
# Improve pane split
|
|
bind | split-window -h
|
|
bind - split-window -v
|
|
|
|
# Improve pane move
|
|
bind h select-pane -L
|
|
bind j select-pane -D
|
|
bind k select-pane -U
|
|
bind l select-pane -R
|
|
|
|
# Improve window move
|
|
bind -r C-h select-window -t :-
|
|
bind -r C-l select-window -t :+
|
|
|
|
# Improve resize pane
|
|
bind -r H resize-pane -L 5
|
|
bind -r J resize-pane -D 5
|
|
bind -r K resize-pane -U 5
|
|
bind -r L resize-pane -R 5
|
|
|
|
# Enable vim keys
|
|
set-window-option -g mode-keys vi
|
|
|
|
# Make [shift]-arrows, [ctrl]-arrows, etc work in vim
|
|
set -g xterm-keys on
|
|
|
|
# Attempt to fixes slows [esc] issues
|
|
set -s escape-time 0
|
|
|
|
# Disable mouse
|
|
# set -g mode-mouse off
|
|
|
|
# Status bar styling and content
|
|
set -g status-bg black
|
|
set -g status-fg white
|
|
|
|
# Don't prompt to kill panes/windows
|
|
bind-key x kill-pane
|
|
bind-key & kill-window
|
|
|
|
# Reload tmux conf
|
|
unbind r
|
|
bind r source-file ~/.config/tmux/tmux.conf\; display "Reloaded conf."
|
|
|
|
# Full color for vim
|
|
# based on https://gist.github.com/andersevenrud/015e61af2fd264371032763d4ed965b6
|
|
set -g default-terminal "tmux-256color"
|
|
set -sg terminal-overrides ",*:RGB"
|
|
|
|
# tms shortcuts
|
|
bind C-o display-popup -E "tms"
|
|
bind C-j display-popup -E "tms switch"
|
|
bind C-w display-popup -E "tms windows"
|
|
|
|
# buffer size
|
|
set -g history-limit 50000
|
|
|
|
# list plugins
|
|
set -g @plugin 'tmux-plugins/tpm'
|
|
set -g @plugin 'fabioluciano/tmux-tokyo-night'
|
|
set -g @plugin 'Morantron/tmux-fingers'
|
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
|
|
|
# tokyo night configuration
|
|
set -g @theme_plugins 'datetime'
|
|
|
|
# load/install plugins
|
|
run '~/.config/tmux/plugins/tpm/tpm'
|