projects
/
shutils.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
984717f
)
tmux: Update config
author
Stefan Huber <shuber@sthu.org>
Fri, 7 May 2021 06:41:29 +0000
(08:41 +0200)
committer
Stefan Huber <shuber@sthu.org>
Fri, 7 May 2021 06:41:29 +0000
(08:41 +0200)
dotfiles/tmux/.tmux.conf
patch
|
blob
|
history
diff --git
a/dotfiles/tmux/.tmux.conf
b/dotfiles/tmux/.tmux.conf
index 4d5fa5e4c7630501bd0d8f044216b46ae6e40669..c4ab6ac1c6a0390b765b7203c0baed9adc97a65a 100644
(file)
--- a/
dotfiles/tmux/.tmux.conf
+++ b/
dotfiles/tmux/.tmux.conf
@@
-1,7
+1,7
@@
# Prefer xterm-256color as vim (neovim) within mutt switches to monochrome with
# screen-256color.
set -g default-terminal "xterm-256color"
# Prefer xterm-256color as vim (neovim) within mutt switches to monochrome with
# screen-256color.
set -g default-terminal "xterm-256color"
-
#
set -g mouse on
+set -g mouse on
set-window-option -g xterm-keys on
set-window-option -g xterm-keys on
@@
-14,6
+14,15
@@
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection c
bind-key m set-option -g mouse on \; display 'Mouse: ON'
bind-key M set-option -g mouse off \; display 'Mouse: OFF'
bind-key m set-option -g mouse on \; display 'Mouse: ON'
bind-key M set-option -g mouse off \; display 'Mouse: OFF'
+# Let split et alii use the pane's current path as current path of the new pane
+bind '"' split-window -c "#{pane_current_path}"
+bind % split-window -h -c "#{pane_current_path}"
+bind c new-window -c "#{pane_current_path}"
+
+# Pass home and end keys
+bind-key -n Home send Escape "OH"
+bind-key -n End send Escape "OF"
+
# Pass titles to terminal
set-option -g set-titles on
set-option -g set-titles-string "[#S : #W : #T]"
# Pass titles to terminal
set-option -g set-titles on
set-option -g set-titles-string "[#S : #W : #T]"
@@
-25,8
+34,11
@@
set-option -g set-titles-string "[#S : #W : #T]"
## COLORSCHEME: gruvbox dark
set-option -g status "on"
## COLORSCHEME: gruvbox dark
set-option -g status "on"
-set -g window-active-style bg=colour234
-set -g window-style bg=black
+# pane style
+set-option -g window-active-style bg=colour234
+set-option -g pane-active-border-style fg=colour250 #fg2
+set-option -g window-style bg=colour235
+set-option -g pane-border-style fg=colour237 #bg1
# default statusbar color
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
# default statusbar color
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
@@
-40,10
+52,6
@@
set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg
# active window title colors
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
# active window title colors
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
-# pane border
-set-option -g pane-active-border-style fg=colour250 #fg2
-set-option -g pane-border-style fg=colour237 #bg1
-
# message infos
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
# message infos
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1