mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 04:30:13 +00:00
tmux fzf and 1password
This commit is contained in:
@ -9,7 +9,7 @@ tmux:
|
||||
modified: '~'
|
||||
untracked: '✚'
|
||||
stashed: '⚑ '
|
||||
clean: '✔'
|
||||
clean: ''
|
||||
styles:
|
||||
state: '#[fg=red,bold]'
|
||||
branch: '#[fg=red,bold]'
|
||||
@ -19,5 +19,5 @@ tmux:
|
||||
modified: '#[fg=colour239,bold]'
|
||||
untracked: '#[fg=colour239,bold]'
|
||||
stashed: '#[fg=colour239,bold]'
|
||||
clean: '#[fg=green,bold]'
|
||||
layout: [remote, ' ', flags, ' ']
|
||||
clean: '#[fg=colour241,bold]'
|
||||
layout: [' ', remote, ' ', flags, ' |']
|
||||
|
@ -1,8 +1,3 @@
|
||||
# Remap prefix to Control + space
|
||||
#unbind C-b
|
||||
#set -g prefix C-space
|
||||
#bind C-space send-prefix
|
||||
|
||||
# Keep plenty of history for scrollback
|
||||
set -g history-limit 100000
|
||||
|
||||
@ -37,7 +32,7 @@ bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
set -g mouse on
|
||||
|
||||
# Status bar
|
||||
set -g status-interval 10 # Seconds between refreshes
|
||||
set -g status-interval 60 # Seconds between refreshes
|
||||
set -g renumber-windows on
|
||||
set-option -g base-index 1 # Set 1 for first window (easier to type)
|
||||
set-window-option -g pane-base-index 1 # Set 1 for first pane (easier to type)
|
||||
@ -88,8 +83,17 @@ set-option -g status-right-style none
|
||||
set-option -g status-right-length "80"
|
||||
set-window-option -g window-status-separator ""
|
||||
|
||||
WEATHER='#(curl -s wttr.in/\?format\="%%c%%t")'
|
||||
set-option -g status-left "#[fg=colour248, bg=colour241] #S #[fg=colour241, bg=colour237, nobold, noitalics, nounderscore]"
|
||||
set-option -g status-right "#[fg=colour239, bg=colour237, nobold, nounderscore, noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d %H:%M #[fg=colour248, bg=colour239, nobold, noitalics, nounderscore]#[fg=colour237, bg=colour248] #(gitmux -cfg .gitmux.conf '#{pane_current_path}')"
|
||||
set-option -g status-right "#[fg=colour239, bg=colour237, nobold, nounderscore, noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d %H:%M #[fg=colour248, bg=colour239, nobold, noitalics, nounderscore]#[fg=colour237, bg=colour248]#(gitmux -cfg .gitmux.conf '#{pane_current_path}') #[fg=colour237, nobold, bg=colour248]$WEATHER #[fg=colour237] "
|
||||
|
||||
set-window-option -g window-status-current-format "#[fg=colour237, bg=colour214, nobold, noitalics, nounderscore]#[fg=colour239, bg=colour214] #I #[fg=colour239, bg=colour214, bold] #W #[fg=colour214, bg=colour237, nobold, noitalics, nounderscore]"
|
||||
set-window-option -g window-status-format "#[fg=colour237,bg=colour239,noitalics]#[fg=colour223,bg=colour239] #I #[fg=colour223, bg=colour239] #W #[fg=colour239, bg=colour237, noitalics]"
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'yardnsm/tmux-1password'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
|
Reference in New Issue
Block a user