| @ -1,5 +1,5 @@ | |||
| -- Themery block | |||
| -- This block will be replaced by Themery. | |||
| vim.cmd("colorscheme eldritch") | |||
| vim.g.theme_id = 12 | |||
| vim.cmd("colorscheme catppuccin") | |||
| vim.g.theme_id = 5 | |||
| -- end themery block | |||
| @ -0,0 +1,10 @@ | |||
| return { | |||
| "aserowy/tmux.nvim", | |||
| config = function () | |||
| require("tmux").setup({ | |||
| copy_sync = { | |||
| enable = false | |||
| }, | |||
| }) | |||
| end | |||
| } | |||
| @ -0,0 +1 @@ | |||
| Subproject commit a556353d60833367b13739e660d4057a96f2f4fe | |||
| @ -0,0 +1 @@ | |||
| Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa | |||
| @ -0,0 +1 @@ | |||
| Subproject commit ee73d4a9ba6222d7d51492a4e0e797c9249a879c | |||
| @ -0,0 +1 @@ | |||
| Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 | |||
| @ -0,0 +1,63 @@ | |||
| # List of plugins | |||
| set -g @plugin 'tmux-plugins/tpm' | |||
| set -g @plugin 'tmux-plugins/tmux-sensible' | |||
| set -g @plugin 'catppuccin/tmux' | |||
| # set -g @plugin 'fabioluciano/tmux-tokyo-night' | |||
| # Colour scheme | |||
| # set -g @theme_variation 'moon' | |||
| # set -g @theme_left_separator ' ' | |||
| # set -g @theme_right_separator ' ' | |||
| set -g @catppuccin_flavour 'mocha' # or frappe, macchiato, mocha | |||
| set -g @catppuccin_status_left_separator " " | |||
| set -g @catppuccin_status_right_separator "" | |||
| # easy reload config | |||
| bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "~/.config/tmux/tmux.conf reloaded." | |||
| set-option -g status-position top | |||
| # set window split | |||
| bind-key v split-window -h | |||
| bind-key b split-window | |||
| # C-b is not acceptable -- Vim uses it | |||
| set-option -g prefix C-a | |||
| bind-key C-a last-window | |||
| # Start numbering at 1 | |||
| set -g base-index 1 | |||
| # Allows for faster key repetition | |||
| set -s escape-time 50 | |||
| # Rather than constraining window size to the maximum size of any client | |||
| # connected to the *session*, constrain window size to the maximum size of any | |||
| # client connected to *that window*. Much more reasonable. | |||
| setw -g aggressive-resize on | |||
| is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?\.?(view|n?vim?x?)(-wrapped)?(diff)?$'" | |||
| bind-key -n 'C-h' if-shell "$is_vim" 'send-keys C-h' { if -F '#{pane_at_left}' '' 'select-pane -L' } | |||
| bind-key -n 'C-j' if-shell "$is_vim" 'send-keys C-j' { if -F '#{pane_at_bottom}' '' 'select-pane -D' } | |||
| bind-key -n 'C-k' if-shell "$is_vim" 'send-keys C-k' { if -F '#{pane_at_top}' '' 'select-pane -U' } | |||
| bind-key -n 'C-l' if-shell "$is_vim" 'send-keys C-l' { if -F '#{pane_at_right}' '' 'select-pane -R' } | |||
| bind-key -T copy-mode-vi 'C-h' if -F '#{pane_at_left}' '' 'select-pane -L' | |||
| bind-key -T copy-mode-vi 'C-j' if -F '#{pane_at_bottom}' '' 'select-pane -D' | |||
| bind-key -T copy-mode-vi 'C-k' if -F '#{pane_at_top}' '' 'select-pane -U' | |||
| bind-key -T copy-mode-vi 'C-l' if -F '#{pane_at_right}' '' 'select-pane -R' | |||
| bind-key C command-prompt -p "Name of new window: " "new-window -n '%%'" | |||
| set-window-option -g mode-keys vi | |||
| bind 'V' copy-mode | |||
| # Enable mouse control (clickable windows, panes, resizable panes) | |||
| set -g mouse on | |||
| # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |||
| run '~/.tmux/plugins/tpm/tpm' | |||