1
0
Fork 0

minor changes, continuing tmux setup

This commit is contained in:
Luca Bilke 2023-12-12 17:31:16 +01:00
parent 814a703752
commit 133bb3aa2b
5 changed files with 38 additions and 31 deletions

@ -0,0 +1 @@
Subproject commit 5ad2fe23dbf46976a7e6323fda7cf28dc7adac7a

View File

@ -1,54 +1,45 @@
yank="xsel -i --clipboard"
# GENERAL SETTINGS
set -g history-limit 20000
set -g history-limit 5000
set -g buffer-limit 20
set -sg escape-time 0
set -g display-time 1500
set -g remain-on-exit off
set -g repeat-time 300
setw -g allow-rename off
setw -g automatic-rename off
setw -g aggressive-resize on
set -g prefix C-a
setw -g allow-rename on
setw -g automatic-rename on
set -g set-titles on
set -g set-titles-string "#I:#W"
set -g set-titles-string '#T'
setw -g aggressive-resize on
set -g prefix 'C-a'
set -g mouse off
setw -g mode-keys vi
set -g visual-activity on
set -g destroy-unattached on
setw -g monitor-activity on
set -g visual-activity on
set-option -g default-shell /bin/zsh
# Undercurl compatibility
# UNDERCURL COMPATIBILITY
set -as terminal-overrides ',*:Smulx=\E[4::%p1%dm'
set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m'
# STATUS BAR SETTINGS
black="color0"
red="color1"
green="color2"
yellow="color3"
blue="color4"
purple="color5"
cyan="color6"
gray="color7"
darkgray="color8"
white="color15"
set -g mode-style "fg=default,bg=$blue"
set -g message-style "fg=$blue,bg=$black"
set -g status-style "fg=$gray,bg=$black"
setw -g window-status-format " #I:#W "
setw -g window-status-current-style "fg=$black,bold,bg=$blue"
setw -g window-status-current-format " #I:#W# "
setw -g window-status-activity-style "fg=$gray"
setw -g pane-active-border-style "fg=$blue"
set -g mode-style "fg=default,bg=blue"
set -g message-style "fg=green,bg=black"
set -g status-style "fg=gray,bg=black"
setw -g window-status-current-style "fg=black,bold,bg=blue"
setw -g window-status-current-format " #I "
setw -g window-status-activity-style "fg=gray"
setw -g pane-active-border-style "fg=blue"
set -g status on
set -g status-interval 5
set -g status-interval 1
set -g status-position bottom
set -g status-justify left
set -g status-right-length 100
# CLIPBOARD CMD
yank="xsel -i --clipboard"
# BINDINGS
unbind 'C-b'
unbind '$'
@ -75,6 +66,12 @@ unbind 'M-Down'
unbind 'M-Right'
unbind 'M-Left'
bind 'C-a' send-prefix
bind 'C-l' clear-history
bind 'h' select-pane -L
bind 'j' select-pane -D
bind 'k' select-pane -U
bind 'l' select-pane -R
bind 'C-r' source-file $XDG_CONFIG_HOME/tmux/tmux.conf \; display "Config reloaded"
bind 'r' command-prompt -I "#{window_name}" "rename-window '%%'"
bind 'R' command-prompt -I "#{session_name}" "rename-session '%%'"
@ -123,3 +120,6 @@ bind -T off F12 \
set -u prefix \;\
set -u key-table \;\
refresh-client -S
# PLUGINS
run $XDG_CONFIG_HOME/tmux/tmux-fzf-url/fzf-url.tmux

View File

@ -0,0 +1,3 @@
#!/bin/zsh
# This hook is sourced after every virtualenv is activated.
basename $VIRTUALENV > /tmp/virtualenv-$$

View File

@ -0,0 +1,3 @@
#!/bin/zsh
# This hook is sourced after every virtualenv is deactivated.
rm /tmp/virtualenv-$$

@ -1 +1 @@
Subproject commit afcdaad101a72b7f76969fe1a3d606d31706cc23
Subproject commit d6a73d2ced0f9c58c1dff6d09149e63bbf71da37