mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
# Tmux Config
- Added Catppuccin theme - Added kitty terminal config # Sync and Rectify Vim & NVIM - Undo files are incompatible between VIM & NVIM - saved those files separately - Keybinding for saving and quitting moved to VIM config - VIM & NVIM swapfiles removed - More VIM options set to enhance usability - Synced system vim config and keybindings with ideavimrc # Shell Script File Changes - Reverted to using `#!/bin/sh` as bash is slow and not POSIX compliant. - Reformatted
This commit is contained in:
@@ -79,6 +79,9 @@ set -g @resurrect-capture-pane-contents "on"
|
||||
set -g @resurrect-strategy-nvim "session"
|
||||
set -g @resurrect-dir "$HOME/.config/tmux/resurrect"
|
||||
|
||||
# Don't exit tmux when closing a session
|
||||
set -g detach-on-destroy off
|
||||
|
||||
#========================================================
|
||||
# APPEARANCE
|
||||
#========================================================
|
||||
@@ -89,7 +92,8 @@ set -g renumber-windows on
|
||||
set-window-option -g pane-base-index 1
|
||||
|
||||
# Improve colors
|
||||
set -g default-terminal "xterm-256color"
|
||||
set -g default-terminal "${TERM}"
|
||||
set-option -g default-terminal "xterm-256color"
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
|
||||
# Status at top
|
||||
@@ -101,23 +105,38 @@ set -g status-position top
|
||||
run "~/.config/tmux/plugins/tpm/tpm" # Init Tmux Plugin Manager
|
||||
|
||||
# TODO: Get into Tmux copy stuff when required
|
||||
# set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
# set -g @plugin "tmux-plugins/tmux-copycat"
|
||||
|
||||
set -g @plugin "christoomey/vim-tmux-navigator" # sync pane nav with Vim window nav
|
||||
set -g @plugin "tmux-plugins/tmux-resurrect" # Persist sessions
|
||||
set -g @plugin "tmux-plugins/tmux-continuum" # Auto save sessions every 15mins
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin "tmux-plugins/tmux-copycat"
|
||||
set -g @plugin "fabioluciano/tmux-tokyo-night"
|
||||
set -g @plugin "catppuccin/tmux"
|
||||
|
||||
#========================================================
|
||||
# PLUGINS Configurations
|
||||
#========================================================
|
||||
|
||||
# Color schemes
|
||||
set -g @theme_variation "night"
|
||||
set -g @theme_disable_plugins 1
|
||||
set -g status-right ""
|
||||
set -g @catppuccin_flavour "mocha"
|
||||
|
||||
set -g @catppuccin_window_left_separator ""
|
||||
set -g @catppuccin_window_right_separator " "
|
||||
set -g @catppuccin_window_middle_separator " █"
|
||||
set -g @catppuccin_status_left_separator " "
|
||||
set -g @catppuccin_status_right_separator " "
|
||||
set -g @catppuccin_status_right_separator_inverse "no"
|
||||
|
||||
set -g @catppuccin_status_fill "icon"
|
||||
set -g @catppuccin_window_current_text "#W"
|
||||
set -g @catppuccin_window_current_fill "number"
|
||||
set -g @catppuccin_window_default_text "#W"
|
||||
set -g @catppuccin_window_default_fill "number"
|
||||
set -g @catppuccin_window_status_enable "yes"
|
||||
set -g @catppuccin_window_status_icon_enable "yes"
|
||||
set -g @catppuccin_window_number_position "right"
|
||||
set -g @catppuccin_status_connect_separator "no"
|
||||
set -g @catppuccin_directory_text "#{pane_current_path}"
|
||||
set -g @catppuccin_status_modules_right "session directory"
|
||||
|
||||
set -g @plugin "tmux-plugins/tpm"
|
||||
|
||||
Reference in New Issue
Block a user