chore(starship, nvim, tmux): removing starship, navigation between tmux and nvim, updated environment configs and scripts
This commit is contained in:
1 parent
c9b2a67939
commit
89d37946cf
19 files changed
+354
-405
No files matched your search
Submodule tmux/.config/tmux/plugins/tpm deleted from e261deb1b4.
Submodule tmux/.config/tmux/plugins/vim-tmux-navigator deleted from e41c431a0c.
+10
-23
@@ -1,46 +1,33 @@
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
|
||||
set -g default-shell $SHELL
|
||||
set -s escape-time 0
|
||||
set -g focus-events on
|
||||
set -s theme terminal
|
||||
set -g set-clipboard on
|
||||
set -g detach-on-destroy off
|
||||
set -g status off
|
||||
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ga terminal-features ',xterm-ghostty:RGB'
|
||||
set -as terminal-overrides ',xterm*:Tc,ghostty:RGB'
|
||||
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set -g renumber-windows on
|
||||
|
||||
set -g status off
|
||||
set -g status-position top
|
||||
set -g status-justify centre
|
||||
set -g status-style bg=default
|
||||
|
||||
set -g status-left-length 40
|
||||
set -g status-left "#{?client_prefix,#[fg=colour234]#[bg=colour6]#[bold] #S #[bg=default]#[nobold],#[fg=color242]#[bg=default]#S }"
|
||||
set -g status-right ""
|
||||
|
||||
set -g window-status-separator " "
|
||||
set -g window-status-format "#[fg=color242]#I:#W"
|
||||
set -g window-status-current-format "#[fg=colour3 bold]#I:#W"
|
||||
|
||||
set -g message-style 'fg=colour3 bg=default bold'
|
||||
bind -r v display-popup -E -w 80% -h 80% "~/.local/bin/tmux-sessionizer"
|
||||
|
||||
bind-key h previous-window
|
||||
bind-key l next-window
|
||||
bind-key z resize-pane -Z
|
||||
bind-key b set-option -g status
|
||||
bind -r v run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
||||
bind -n C-S-h resize-pane -L 5
|
||||
bind -n C-S-j resize-pane -D 5
|
||||
bind -n C-S-k resize-pane -U 5
|
||||
bind -n C-S-l resize-pane -R 5
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
# set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +([^ ]+/)?g?(view|l?n?vim?x?|fzf)(diff)?$'"
|
||||
|
||||
run '$HOME/.config/tmux/plugins/tpm/tpm'
|
||||
bind -n C-h if-shell "$is_vim" 'send-keys C-h' 'select-pane -L'
|
||||
bind -n C-j if-shell "$is_vim" 'send-keys C-j' 'select-pane -D'
|
||||
bind -n C-k if-shell "$is_vim" 'send-keys C-k' 'select-pane -U'
|
||||
bind -n C-l if-shell "$is_vim" 'send-keys C-l' 'select-pane -R'
|
||||
|
||||
bind I source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded!"
|
||||
Reference in new issue
Block a user