mod tmux
parent
48c19be667
commit
81cf5d51af
.config/tmux
|
@ -21,15 +21,8 @@ set -g history-limit 10000 # Keep 10,000 lines in scrollback buffer
|
||||||
set -g set-titles on # Enable automatic title updates
|
set -g set-titles on # Enable automatic title updates
|
||||||
set -g mouse on # Enable mouse support
|
set -g mouse on # Enable mouse support
|
||||||
set -g mode-style "fg=black,bg=blue" # Customize text selection colors in copy mode
|
set -g mode-style "fg=black,bg=blue" # Customize text selection colors in copy mode
|
||||||
set -g status-position top # Place status bar at top
|
#set -g status-position top # Place status bar at top
|
||||||
set-environment -g LC_CTYPE "ru_RU.UTF-8" # Set environment encoding for Russian
|
set-environment -g LC_CTYPE "ru_RU.UTF-8" # Set environment encoding for Russian
|
||||||
#set -g pane-active-border-style fg=blue # Set active board color: example with bg 'fg=blue,bg=green'
|
|
||||||
#set -s set-clipboard off # Clipboard mode on|off|external
|
|
||||||
#set -g display-time 100 # Set deley after changing focus of pane (def 750 ms)
|
|
||||||
|
|
||||||
## Extra status bar line
|
|
||||||
#setw -g pane-border-status bottom # Border placement
|
|
||||||
#setw -g pane-border-format '─' # Border style
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -37,11 +30,37 @@ set-environment -g LC_CTYPE "ru_RU.UTF-8" # Set environment encoding for Russian
|
||||||
### PLUGINS LIST ###
|
### PLUGINS LIST ###
|
||||||
####################
|
####################
|
||||||
|
|
||||||
# Plugins
|
# List of plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm' # Plugins manager
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible' # Optimal tmux default settings
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'arcticicestudio/nord-tmux' # Nord theme for tmux
|
set -g @plugin 'dracula/tmux'
|
||||||
set -g @plugin 'tmux-plugins/tmux-continuum' # Automates save and restore actions of tmux-resurrect
|
|
||||||
|
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, tmux-ram-usage, network, network-bandwidth, network-ping, ssh-session, attached-clients, network-vpn, weather, time, mpc, spotify-tui, kubernetes-context, synchronize-panes
|
||||||
|
set -g @dracula-plugins "cpu-usage ram-usage time"
|
||||||
|
|
||||||
|
# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow
|
||||||
|
# set -g @dracula-[plugin-name]-colors "[background] [foreground]"
|
||||||
|
# set -g @dracula-cpu-usage-colors "dark_purple white"
|
||||||
|
set -g @dracula-cpu-usage-colors "green dark_gray"
|
||||||
|
|
||||||
|
set -g @dracula-show-timezone false
|
||||||
|
set -g @dracula-day-month true
|
||||||
|
set -g @dracula-military-time true
|
||||||
|
# set -g @dracula-time-format "%F %R"
|
||||||
|
set -g @dracula-time-format "%H:%M, %d %b %Y г."
|
||||||
|
|
||||||
|
set -g @dracula-show-powerline true
|
||||||
|
|
||||||
|
# for left
|
||||||
|
set -g @dracula-show-left-sep
|
||||||
|
|
||||||
|
# for right symbol (can set any symbol you like as separator)
|
||||||
|
set -g @dracula-show-right-sep
|
||||||
|
|
||||||
|
set -g @dracula-show-flags true
|
||||||
|
|
||||||
|
# it can accept `hostname` (full hostname), `session`, `shortname` (short name), `smiley`, `window`, or any character.
|
||||||
|
set -g @dracula-show-left-icon session
|
||||||
|
|
||||||
|
|
||||||
# Other examples:
|
# Other examples:
|
||||||
|
@ -55,11 +74,6 @@ set -g @plugin 'tmux-plugins/tmux-continuum' # Automates save and restore action
|
||||||
### PLUGINS CONFIG ###
|
### PLUGINS CONFIG ###
|
||||||
######################
|
######################
|
||||||
|
|
||||||
# Configure tmux-continuum
|
|
||||||
set -g @continuum-boot 'on' # Auto-start tmux via systemd
|
|
||||||
set -g @continuum-restore 'on' # Auto-restore tmux sessions
|
|
||||||
set -g @continuum-save-interval '60' # Auto-save every 60 minutes
|
|
||||||
|
|
||||||
# Ensure TPM plugin is installed
|
# Ensure TPM plugin is installed
|
||||||
if "test ! -d ~/.config/tmux/plugins/tpm" \
|
if "test ! -d ~/.config/tmux/plugins/tpm" \
|
||||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm'"
|
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm'"
|
||||||
|
@ -70,4 +84,3 @@ run '~/.config/tmux/plugins/tpm/bin/install_plugins'
|
||||||
|
|
||||||
# Initialize TPM (keep this line at very bottom of tmux.conf)
|
# Initialize TPM (keep this line at very bottom of tmux.conf)
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue