Completely reset dotfiles (#2)

This commit is contained in:
Andrew Tomaka 2021-12-21 13:19:10 -05:00 committed by GitHub
parent 4abd1a6ffc
commit bf26003ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 305 additions and 1101 deletions

View file

@ -0,0 +1,35 @@
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message " ✱ tmux.conf is reloaded"
# for muxception
bind-key b send-prefix
set -g automatic-rename off
set -g renumber-windows on
set-option -sg escape-time 10
set-option -g base-index 1
set-window-option -g monitor-activity off
set-window-option -g pane-base-index 1
bind-key C-b last-window
bind < resize-pane -L 10
bind > resize-pane -R 10
bind - resize-pane -D 10
bind + resize-pane -U 10
# status bar stuff
set -g status on
set -g status-left '#H '
set-option -g status-right '%Y-%m-%d @ %k:%M'
# be more like vim
set-window-option -g mode-keys vi
unbind c; bind c new-window -c "#{pane_current_path}"
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
bind h select-pane -L # left pane
bind j select-pane -D # bottom pane
bind k select-pane -U # top pane
bind l select-pane -R # right pane

View file

@ -1,70 +0,0 @@
# for setting up
bind-key r source-file ~/.tmux.conf \; display-message " ✱ ~/.tmux.conf is reloaded"
# fixup some colors
set -g default-terminal "tmux-256color"
set -ag terminal-overrides ",xterm-256color:RGB"
set-option -g default-shell /opt/homebrew/bin/zsh
# faster escaping? From neovim CheckHealth
set-option -sg escape-time 10
# double tap for back and forth
bind-key C-b last-window
# for muxception
bind-key b send-prefix
# close window
bind q confirm kill-window
# clear history
bind -n C-g clear-history
# 0 is way over there
set-option -g base-index 1
setw -g pane-base-index 1
# history should be longer
set -g history-limit 100000
# no autorename
set -g automatic-rename off
# renumber windows
set -g renumber-windows on
# move windows around
bind H swap-window -t -1
bind L swap-window -t +1
# activity stuff
set-window-option -g monitor-activity off
# copy mode stuff
set-window-option -g mode-keys vi # emulate vim movement in copy mode
# be more like vim
bind h select-pane -L # left pane
bind j select-pane -D # bottom pane
bind k select-pane -U # top pane
bind l select-pane -R # right pane
bind < resize-pane -L 10
bind > resize-pane -R 10
bind - resize-pane -D 10
bind + resize-pane -U 10
# status bar stuff
set -g status on
set -g status-left '#[fg=green]#H'
set-option -g status-right '%Y-%m-%d @ %k:%M'
# 1.9 stuff moved in here
unbind c; bind c new-window -c "#{pane_current_path}"
bind s split-window -v -c "#{pane_current_path}"
bind v split-window -h -c "#{pane_current_path}"
# load current scheme
run-shell "bash ~/.tmux/startup"

View file

@ -1,29 +0,0 @@
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style fg=yellow,bg=black #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=black #base02
set-option -g pane-active-border-style fg=brightgreen #base01
# message text
set-option -g message-style fg=brightred,bg=black #orange and base01
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red

View file

@ -1,29 +0,0 @@
#### COLOUR (Solarized light)
# default statusbar colors
set-option -g status-style fg=yellow,bg=white #yellow and base2
# default window title colors
set-window-option -g window-status-style fg=brightyellow,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=white #base2
set-option -g pane-active-border-style fg=brightcyan #base1
# message text
set-option -g message-style fg=brightred,bg=white #orange and base2
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=white,bg=red #base2, red

View file

@ -1,29 +0,0 @@
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-style fg=yellow,bg=black #yellow and base02
# default window title colors
set-window-option -g window-status-style fg=brightblue,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=black #base02
set-option -g pane-active-border-style fg=brightgreen #base01
# message text
set-option -g message-style fg=brightred,bg=black #orange and base01
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red

View file

@ -1,29 +0,0 @@
#### COLOUR (Solarized light)
# default statusbar colors
set-option -g status-style fg=yellow,bg=white #yellow and base2
# default window title colors
set-window-option -g window-status-style fg=brightyellow,bg=default #base0 and default
#set-window-option -g window-status-style dim
# active window title colors
set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
#set-window-option -g window-status-current-style bright
# pane border
set-option -g pane-border-style fg=white #base2
set-option -g pane-active-border-style fg=brightcyan #base1
# message text
set-option -g message-style fg=brightred,bg=white #orange and base2
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
# bell
set-window-option -g window-status-bell-style fg=white,bg=red #base2, red

View file

@ -1,5 +0,0 @@
#!/bin/bash
startup_color=$(cat $HOME/.config/atomaka/color.yml)
tmux source-file $HOME/.tmux/$startup_color.conf