Restructure for symlink
This change makes it easier to recursively copy these config files into a real home directory and also gets rid of empty folders
This commit is contained in:
parent
d9d326eaa1
commit
9a6bfc1daf
111 changed files with 560 additions and 2114 deletions
|
|
@ -1,50 +0,0 @@
|
|||
set-option -g default-shell /usr/local/bin/fish
|
||||
set -g default-terminal "screen-256color"
|
||||
# # set-window-option -g mode-keys vi
|
||||
|
||||
# set-window-option -g automatic-rename on
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
# bind h split-window -h -c "#{pane_current_path}"
|
||||
# bind v split-window -v -c "#{pane_current_path}"
|
||||
# bind w new-window
|
||||
|
||||
# Smart pane switching with awareness of Vim splits.
|
||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||
# Adapted to avoid fzf conflicts
|
||||
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
|
||||
| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
|
||||
bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
|
||||
bind-key -n 'C-j' if-shell "$is_vim" 'send-keys C-j' 'select-pane -D'
|
||||
bind-key -n 'C-k' if-shell "$is_vim" 'send-keys C-k' 'select-pane -U'
|
||||
bind-key -n 'C-l' if-shell "$is_vim" 'send-keys C-l' 'select-pane -R'
|
||||
|
||||
|
||||
# bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
|
||||
|
||||
bind a resize-pane -Z
|
||||
|
||||
# Shift arrow to switch windows
|
||||
bind -n C-S-Space previous-window
|
||||
bind -n C-Space next-window
|
||||
|
||||
# Remove escape delay
|
||||
set -g escape-time 0
|
||||
|
||||
# Enable mouse scroll
|
||||
set -g mouse on
|
||||
|
||||
set-option -g status-right-length 140
|
||||
set-option -g status-right "#(curl 'wttr.in/?format=%%c%%t%%20')|#[bg=default] %a %l:%M %p#[default]#(curl 'wttr.in/?format=%%20%%m%%20(%%M)%') |#(sugar --tmux)#[bg=default]"
|
||||
|
||||
set-option -g status-left-length 140
|
||||
set-option -g status-left " Session: #[bold,fg=green,bg=black] #S #[fg=black,bg=green] "
|
||||
|
||||
set-option -g status-justify centre
|
||||
set-option -g window-status-current-format '#[bold,fg=green,bg=black] #{window_name} '
|
||||
set-option -g window-status-format '#{window_name}'
|
||||
|
||||
bind t popup "tmux new-session -A -s tasks 'vit list'"
|
||||
bind j popup "tmux new-session -A -s jira 'jira issue list -a(jira me)'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue