diff --git a/meta/configs/tmux.apple.yaml b/meta/configs/tmux.apple.yaml new file mode 100644 index 0000000..4aa65d0 --- /dev/null +++ b/meta/configs/tmux.apple.yaml @@ -0,0 +1,3 @@ +- link: + ~/.tmux.conf: terminals/tmux/tmux.apple.conf + diff --git a/meta/profiles/apple b/meta/profiles/apple new file mode 100644 index 0000000..5e9f38c --- /dev/null +++ b/meta/profiles/apple @@ -0,0 +1,7 @@ +vim +tmux.apple +zsh +oh-my-zsh +fzf +scripts +calcurse diff --git a/terminals/tmux/tmux.apple.conf b/terminals/tmux/tmux.apple.conf new file mode 100644 index 0000000..fc95fc3 --- /dev/null +++ b/terminals/tmux/tmux.apple.conf @@ -0,0 +1,52 @@ +# Improve Colors +set -g default-terminal "screen-256color" +# change keybinding to something sane +set -g prefix M-a +# Set scrollback buffer +set -g history-limit 10000 +# Set display time to be longer to allow selecting +set -g display-panes-time 5000 +# setup automatic renaming +set -g automatic-rename on + +#set -g default-shell $SHELL + +# keybinds +bind-key v select-layout even-vertical +bind-key h select-layout even-horizontal + +# binds path to current one +bind-key a attach -c "#{pane_current_path}" + +# setting up TPM +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +# clock settings +set -g clock-mode-colour white + +# status config +set -g status-interval 10 +set -g status-style "bg=black, fg=brightWhite" +set -g status-right "#(docker_check)| #(ssh_agent_check) | #(tmux-mem-cpu-load -p -i 1 -a 1) | #(display_uptime) | %A, %b %d %l:%M %P " +set -g status-right-length 100 +set -g status-left " #(weather -p) | #(bluebikes -c) | #(watertracker -cr) |" +set -g status-left-length 100 + +# tmux auto start +# set -g @plugin 'tmux-plugins/tmux-resurrect' +# set -g @plugin 'tmux-plugins/tmux-continuum' + +# # ressurct config +# set -g @continuum-save-interval 10 +# set -g @resurrect-capture-pane-contents 'on' +# set -g @resurrect-strategy-vim 'session' +# set -g @continuum-boot 'on' +#set -g @continuum-systemd-start-cmd 'new-session -d -s doormat' + + +# auto install plugins +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" +# run tpm +run '~/.tmux/plugins/tpm/tpm'