~idmyn/dotfiles

28109a5cfe55e501b2d748f248a052f63080abf6 — David Mynors a month ago c11b112
Add tmux config
3 files changed, 46 insertions(+), 3 deletions(-)

M install.conf.yaml
M kitty/kitty.conf
A shell/.tmux.conf
M install.conf.yaml => install.conf.yaml +2 -1
@@ 18,6 18,7 @@
    ~/.config/phoenix/phoenix.js: macOS/phoenix/phoenix.js
    ~/.config/karabiner.edn: macOS/karabiner/karabiner.edn
    ~/.secret-aliases: shell/.secret-aliases
    ~/.tmux.conf: shell/.tmux.conf
    ~/.elvish/rc.elv: shell/elvish/rc.elv
    ~/.elvish/lib/nix.elv: shell/elvish/lib/nix.elv
    ~/.elvish/lib/direnv.elv: shell/elvish/lib/direnv.elv


@@ 36,4 37,4 @@

- shell:
  - [git submodule update --init --recursive, Installing submodules]
  - [cd macOS/homebrew && bash install.sh, Installing packages from homebrew]
  - [cd macOS/homebrew; bash install.sh, Installing packages from homebrew]

M kitty/kitty.conf => kitty/kitty.conf +2 -2
@@ 1,6 1,6 @@
# inspo: https://github.com/callum-oakley/macos-dots/blob/master/.config/kitty/kitty.conf

shell                           /usr/local/bin/elvish
shell                           /usr/local/bin/tmux
macos_option_as_alt             yes

# text


@@ 38,7 38,7 @@ inactive_tab_background         #fffff8
tab_bar_background none

# window
window_margin_width             0 20
window_margin_width             0 5 5
macos_titlebar_color            background

# tabs

A shell/.tmux.conf => shell/.tmux.conf +42 -0
@@ 0,0 1,42 @@
set-option -g default-shell /usr/local/bin/elvish

set -g mouse on
bind-key -T copy-mode MouseDragEnd1Pane send -X copy-pipe-and-cancel "pbcopy"

bind -n M-v split-window -h
bind -n M-s split-window -v

bind -n M-t new-window -c "#{pane_current_path}"
bind -n M-n next-window
bind -n M-p previous-window

bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R

set-option -g status-position bottom
set -g status-justify left
set -g status-style "fg=#4c4c4b bg=#eeeeed bold"

set-window-option -g mode-style "fg=#eeeeed bg=#0087af"

set -g status-left ""
set -g status-left-length 10

set-option -g status-interval 1
set-option -g automatic-rename on
set-option -g automatic-rename-format '#T'

set -g status-right "#[bg=#005f87 fg=#e4e4e4]  #(kubectl config current-context 2>/dev/null || echo 'no k8s context')  "

set -g window-status-current-style "fg=#e4e4e4 bg=#005f87"
set -g window-status-style "fg=#444444 bg=#d0d0d0"
set -g window-status-format "  #{window_name}  "
set -g window-status-current-format "  #{window_name}  "
set -g window-status-separator " "

set -g message-style "fg=#4c4c4b bg=#eeeeed"

set -g pane-active-border-style "fg=#4c4c4b"
set -g pane-border-style "fg=#4c4c4b"
\ No newline at end of file