feat(tmux): add tmux nerd font window name plugin and fix keymap

This commit is contained in:
Stefan Imhoff
2023-03-03 15:23:53 +01:00
parent 3d9b50213f
commit bb81b93788
3 changed files with 8 additions and 7 deletions

View File

@@ -156,7 +156,7 @@ if type nvim >/dev/null 2>&1
end
# TMUX
alias t tmux
alias tx tmux
alias mux tmuxinator
alias ms 'mux start'
alias ta 'tmux attach'

View File

@@ -94,9 +94,9 @@ map ctrl+alt+9 send_text all \x02\x39
# R (Jump to Last tmux Session)
map ctrl+alt+r send_text all \x02\x52
# b (Previous Window)
map ctrl+alt+[ send_text all \x02\x62
map ctrl+alt+h send_text all \x02\x62
# p (Previous Window)
map ctrl+alt+[ send_text all \x02\x70
map ctrl+alt+h send_text all \x02\x70
# n (Next Window)
map ctrl+alt+] send_text all \x02\x6e

View File

@@ -61,9 +61,9 @@ set -g status-right-length 100
set -g status-right "#{now_playing} "
# Windows
set -g window-status-current-format "#[fg=magenta,bold,bg=default] #I #W #{?window_zoomed_flag,,} "
set -g window-status-current-format "#[fg=magenta,bold,bg=default] #W #{?window_zoomed_flag,,} "
set -g window-status-separator ""
set -g window-status-format "#[fg=white,bg=default] #I #W #{?window_bell_flag,,} "
set -g window-status-format "#[fg=white,bg=default] #W #{?window_bell_flag,,} "
# Change the default delay
set -sg escape-time 0
@@ -118,7 +118,7 @@ bind Escape copy-mode
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi Enter send-keys -X copy-selection
bind p run "tmux paste-buffer"
bind P run "tmux paste-buffer"
# ========= Plugins =========
@@ -146,6 +146,7 @@ set -g @plugin 'nhdaly/tmux-scroll-copy-mode'
set -g @plugin 'wfxr/tmux-fzf-url' # u
set -g @plugin 'joshmedeski/t-smart-tmux-session-manager'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'joshmedeski/tmux-nerd-font-window-name'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'