feat: update starship cursor to look a little cleaner, refactor tmux configuration to be more readable
This commit is contained in:
parent
c7c973e16f
commit
89d1e206ed
@ -1,34 +1,40 @@
|
|||||||
|
|
||||||
|
# Terminal settings
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
set-option -g status-position top
|
set-option -g status-position top
|
||||||
#keybinds
|
|
||||||
|
# Keybinds
|
||||||
unbind r
|
unbind r
|
||||||
bind r source-file ~/.tmux.conf \; display "reloaded-config"
|
bind r source-file ~/.tmux.conf \; display "reloaded-config"
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-w
|
set -g prefix C-w
|
||||||
#preferences
|
|
||||||
|
# Preferences
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set-option -g status-position top
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
set -g repeat-time 1000
|
set -g repeat-time 1000
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
#window status
|
|
||||||
|
# Window status
|
||||||
set -g window-status-format " #I "
|
set -g window-status-format " #I "
|
||||||
set -g window-status-current-format " #I "
|
set -g window-status-current-format " #I "
|
||||||
set -g window-status-bell-style "bg=red,nobold"
|
set -g window-status-bell-style "bg=red,nobold"
|
||||||
set -g window-status-current-style \
|
set -g window-status-current-style "#{?window_zoomed_flag,bg=yellow,bg=magenta,nobold}"
|
||||||
"#{?window_zoomed_flag,bg=yellow,bg=magenta,nobold}"
|
|
||||||
#pane separators
|
# Pane separators
|
||||||
set -g pane-border-lines simple
|
set -g pane-border-lines simple
|
||||||
# vim keybinds for navigation
|
|
||||||
|
# Vim keybinds for navigation
|
||||||
bind-key h select-pane -L
|
bind-key h select-pane -L
|
||||||
bind-key j select-pane -D
|
bind-key j select-pane -D
|
||||||
bind-key k select-pane -U
|
bind-key k select-pane -U
|
||||||
bind-key l select-pane -R
|
bind-key l select-pane -R
|
||||||
#plugins
|
|
||||||
|
# Plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
#catpuccin theme
|
|
||||||
|
# Catppuccin theme
|
||||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# Catppuccin Mocha theme to match nvim
|
# Catppuccin Mocha theme to match nvim
|
||||||
format = """
|
format = """
|
||||||
[┌─](bold blue)$directory$git_branch$git_status
|
[╭─](bold blue)$directory$git_branch$git_status
|
||||||
[└─](bold blue)$character"""
|
[╰─](bold blue)$character"""
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[➜](bold green)"
|
success_symbol = "[➜](bold green)"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user