Last active
January 30, 2025 15:20
-
-
Save gpproton/cbc977dce9958a0b6188b56cd5df86d1 to your computer and use it in GitHub Desktop.
Revisions
-
gpproton revised this gist
Jan 30, 2025 . 2 changed files with 11 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ set-option -g status-position top # Vim style pane selection bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R @@ -44,17 +44,20 @@ set -g @catppuccin_flavour 'mocha' set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-open' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'dreamsofcode-io/catppuccin-tmux' # enable auto restore/start set -g @continuum-restore 'on' set -g @continuum-save-interval '5' set -g @resurrect-dir '$HOME/.tmux/resurrect' # set -g @continuum-boot 'on' run '~/.tmux/plugins/tpm/tpm' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,28 +1,15 @@ Install `tmux` through your preffered package manager and Configure - Edit your `~/.config/tmux/tmux.conf` OR `~/.tmux.conf` Setup `tmux` package manager ```shell yay -S tmux tmux-plugin-manager ## OR git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm ## Install packages ~/.tmux/plugins/tpm/bin/install_plugins -
gpproton revised this gist
Jan 30, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,7 +18,7 @@ pull from https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf Setup `tmux` package manager ```shell git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm ## TPM init ~/.tmux/plugins/tpm/tpm init -
gpproton revised this gist
Dec 10, 2024 . 2 changed files with 20 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,17 +2,17 @@ set-option -sa terminal-overrides ",xterm*:Tc" set -g default-terminal 'screen-256color' set -g mouse on # Very important change prefix key bindings unbind C-b set -g prefix C-a bind C-a send-prefix # Move status bar to top set-option -g status-position top # reload config # unbind r # bind r source-file ~/.config/tmux/tmux.conf # Vim style pane selection bind h select-pane -L @@ -47,6 +47,14 @@ set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'dreamsofcode-io/catppuccin-tmux' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' # enable auto restore/start set -g @continuum-restore 'on' set -g @continuum-save-interval '5' set -g @resurrect-dir '$HOME/.tmux/resurrect' set -g @continuum-boot 'on' run '~/.tmux/plugins/tpm/tpm' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,9 +3,10 @@ yay -S tmux tmux-plugin-manager ``` Configure - Edit your `~/.config/tmux/tmux.conf` ```shell set -g @plugin 'tmux-plugins/tpm' run '~/.tmux/plugins/tpm/tpm' @@ -25,7 +26,11 @@ git clone https://aur.archlinux.org/tmux-plugin-manager.git ~/.tmux/plugins/tpm ## Install packages ~/.tmux/plugins/tpm/bin/install_plugins OR <Prefix> + I ## Reload from source tmux source ~/.config/tmux/tmux.conf ``` -
gpproton revised this gist
Dec 10, 2024 . No changes.There are no files selected for viewing
-
gpproton revised this gist
Dec 10, 2024 . 2 changed files with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set-option -g status-position top # reload config unbind r bind r source-file ~/.config/tmux/tmux.conf # Vim style pane selection bind h select-pane -L This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,9 +3,9 @@ yay -S tmux tmux-plugin-manager ``` Configure - Edit your `~/.config/tmux/tmux.conf` ```shell~/.tmux.conf~/.tmux.conf~/.tmux.conf~/.tmux.conf set -g @plugin 'tmux-plugins/tpm' run '~/.tmux/plugins/tpm/tpm' @@ -26,6 +26,6 @@ git clone https://aur.archlinux.org/tmux-plugin-manager.git ~/.tmux/plugins/tpm ~/.tmux/plugins/tpm/bin/install_plugins ## Reload from source tmux source ~/.config/tmux/tmux.conf ``` -
gpproton created this gist
Dec 10, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,61 @@ set-option -sa terminal-overrides ",xterm*:Tc" set -g default-terminal 'screen-256color' set -g mouse on # Very important unbind C-b set -g prefix C-s bind C-s send-prefix # Move status bar to top set-option -g status-position top # reload config unbind r bind r source-file ~/.tmux.conf # Vim style pane selection bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R # Start windows and panes at 1, not 0 set -g base-index 1 set -g pane-base-index 1 set-window-option -g pane-base-index 1 set-option -g renumber-windows on # Use Alt-arrow keys without prefix key to switch panes bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D # Shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window # Shift Alt vim keys to switch windows bind -n M-H previous-window bind -n M-L next-window set -g @catppuccin_flavour 'mocha' set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'dreamsofcode-io/catppuccin-tmux' set -g @plugin 'tmux-plugins/tmux-yank' run '~/.tmux/plugins/tpm/tpm' # set vi-mode set-window-option -g mode-keys vi # keybindings bind-key -T copy-mode-vi v send-keys -X begin-selection bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,31 @@ ```shell yay -S tmux tmux-plugin-manager ``` Configure - Edit your `~/.tmux.conf` ```shell set -g @plugin 'tmux-plugins/tpm' run '~/.tmux/plugins/tpm/tpm' OR pull from https://github.com/dreamsofcode-io/tmux/blob/main/tmux.conf ``` Setup `tmux` package manager ```shell git clone https://aur.archlinux.org/tmux-plugin-manager.git ~/.tmux/plugins/tpm ## TPM init ~/.tmux/plugins/tpm/tpm init ## Install packages ~/.tmux/plugins/tpm/bin/install_plugins ## Reload from source tmux source ~/.tmux.conf ```