feat(tmux): Plugins and configurations

This commit is contained in:
2023-05-03 16:22:02 +03:00
parent 06a53759ac
commit eaedd40e06
3 changed files with 93 additions and 2 deletions

View File

@@ -109,3 +109,5 @@ export _Z_DATA="$XDG_STATE_HOME/z"
export ANDROID_HOME="$XDG_DATA_HOME/android"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export SCREENRC="$XDG_CONFIG_HOME/misc/screenrc"
export TMUX_CONF="$DOTFILES/config/tmux/tmux.conf"

View File

@@ -10,6 +10,8 @@
<true/>
<key>AlternateMouseScroll</key>
<true/>
<key>AutoHideTmuxClientSession</key>
<true/>
<key>Custom Color Presets</key>
<dict>
<key>catppuccin-mocha</key>
@@ -1039,13 +1041,17 @@
<key>Non-ASCII Anti Aliased</key>
<true/>
<key>Normal Font</key>
<string>JetBrainsMonoNerdFontCompleteM-Light 15</string>
<string>JetBrainsMonoNFM-Regular 13</string>
<key>Only The Default BG Color Uses Transparency</key>
<true/>
<key>Open Password Manager Automatically</key>
<true/>
<key>Option Key Sends</key>
<integer>0</integer>
<key>Prompt Before Closing 2</key>
<false/>
<key>Reduce Flicker</key>
<true/>
<key>Right Option Key Sends</key>
<integer>0</integer>
<key>Rows</key>
@@ -1082,12 +1088,77 @@
</dict>
<key>Send Code When Idle</key>
<false/>
<key>Set Local Environment Vars</key>
<false/>
<key>Shortcut</key>
<string></string>
<string>T</string>
<key>Show Status Bar</key>
<true/>
<key>Show Timestamps</key>
<integer>2</integer>
<key>Silence Bell</key>
<false/>
<key>Smart Cursor Color</key>
<true/>
<key>Status Bar Layout</key>
<dict>
<key>advanced configuration</key>
<dict>
<key>algorithm</key>
<integer>0</integer>
<key>auto-rainbow style</key>
<integer>3</integer>
<key>font</key>
<string>.AppleSystemUIFont 12</string>
<key>remove empty components</key>
<false/>
</dict>
<key>components</key>
<array>
<dict>
<key>class</key>
<string>iTermStatusBarJobComponent</string>
<key>configuration</key>
<dict>
<key>knobs</key>
<dict>
<key>base: compression resistance</key>
<integer>1</integer>
<key>base: priority</key>
<real>5</real>
<key>maxwidth</key>
<real>+infinity</real>
<key>minwidth</key>
<integer>0</integer>
<key>shared text color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.63</real>
<key>Color Space</key>
<string>sRGB</string>
<key>Green Component</key>
<real>0.63</real>
<key>Red Component</key>
<real>0.90000000000000002</real>
</dict>
</dict>
<key>layout advanced configuration dictionary value</key>
<dict>
<key>algorithm</key>
<integer>0</integer>
<key>auto-rainbow style</key>
<integer>3</integer>
<key>font</key>
<string>.AppleSystemUIFont 12</string>
<key>remove empty components</key>
<false/>
</dict>
</dict>
</dict>
</array>
</dict>
<key>Sync Title</key>
<false/>
<key>Tags</key>

View File

@@ -51,17 +51,35 @@ bind N new-window
# Plugins related configurations
## https://github.com/jaclu/tmux-menus
set -g @menus_trigger 'm'
## https://github.com/catppuccin/tmux
set -g @catppuccin_flavour 'mocha' # latte/frappe/macchiato/mocha
set -g @catppuccin_window_tabs_enabled on # or off to disable window_tabs
## https://github.com/tmux-plugins/tmux-continuum
set -g @continuum-restore 'on'
set -g @continuum-boot 'on'
set -g @continuum-boot-options 'iterm'
## https://github.com/tmux-plugins/tmux-resurrect
set -g @resurrect-strategy-nvim 'session'
## https://github.com/sainnhe/tmux-fzf
TMUX_FZF_LAUNCH_KEY="l"
## Install plugins, starting with plugin manager
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'jaclu/tmux-menus'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @plugin 'tmux-plugins/tmux-sessionist'
set -g @plugin 'sainnhe/tmux-fzf'
# set vi-mode
set-window-option -g mode-keys vi