diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-28 20:01:52 -0800 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-11-28 20:01:52 -0800 |
| commit | a19071df5a6d40269f7a264b68d2600ea93ca7ae (patch) | |
| tree | 819fa0cce4259ee328de0fdbfa202e51d35ab86b /.config/tmux | |
| parent | Update nvim plugins (diff) | |
| download | dotfiles-openbsd.zip | |
Add openbsd dotfilesopenbsd
Diffstat (limited to '.config/tmux')
| -rw-r--r-- | .config/tmux/key-remappings.tmux | 19 | ||||
| -rw-r--r-- | .config/tmux/macos.tmux | 13 | ||||
| -rw-r--r-- | .config/tmux/options.tmux | 40 | ||||
| -rw-r--r-- | .config/tmux/plugins.tmux | 35 | ||||
| -rw-r--r-- | .config/tmux/vi.tmux | 6 |
5 files changed, 0 insertions, 113 deletions
diff --git a/.config/tmux/key-remappings.tmux b/.config/tmux/key-remappings.tmux deleted file mode 100644 index 103722f..0000000 --- a/.config/tmux/key-remappings.tmux +++ /dev/null @@ -1,19 +0,0 @@ -# Remap prefix from 'C-b' to 'C-a' -# -# This works well if you remap the regular Caps Lock key to Ctrl. -unbind C-b -set-option -g prefix C-a -bind-key C-a send-prefix - -# Remap pane splits to something more sane than the default. -# -# Split panes using | for horizontal splits and - for vertical splits -bind-key | split-window -h -c "#{pane_current_path}" -bind-key - split-window -v -c "#{pane_current_path}" -unbind '"' -unbind % -bind-key c new-window -c "#{pane_current_path}" - -# Easier configuration reloading and pane killing -bind-key r source-file ~/.tmux.conf \; display-message "Config reloaded!" -bind-key x kill-pane diff --git a/.config/tmux/macos.tmux b/.config/tmux/macos.tmux deleted file mode 100644 index 2e1a18b..0000000 --- a/.config/tmux/macos.tmux +++ /dev/null @@ -1,13 +0,0 @@ -# Related: [issue #67](https://github.com/tmux-plugins/tpm/issues/67) -set-environment -g PATH "/opt/homebrew/bin:/bin:/usr/bin" - -set-option -g default-command "reattach-to-user-namespace -l $SHELL" - -# Prefix C-c copy buffer to system clipboard -bind C-c run "tmux save-buffer - | reattach-to-user-namespace pbcopy" - -# Prefix C-v paste system clipboard into tmux -bind C-v run "tmux set-buffer \"$(reattach-to-user-namespace pbpaste)\"; tmux paste-buffer" - -bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" -bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" diff --git a/.config/tmux/options.tmux b/.config/tmux/options.tmux deleted file mode 100644 index c4e1ee6..0000000 --- a/.config/tmux/options.tmux +++ /dev/null @@ -1,40 +0,0 @@ -# Don't rename windows automatically. -# -# I often will use the `,` key to rename windows. -# However, by default, tmux will update the window -# title to the last executed command. -set-option -g allow-rename off - -# Enable mouse support (clickable windows, panes, resizable panes) -set-option -g mouse on - -# Enable system clipboard integration (macOS) -set-option -g set-clipboard on - -# Allow focus events (for editors like Neovim) -set -g focus-events on - -# Start windows and panes at 1, not 0 -set-option -g base-index 1 -set-option -g pane-base-index 1 -set-window-option -g pane-base-index 1 -set-option -g renumber-windows on - -set-option -g status-position top - -# Don't do anything when a 'bell' rings -set-option -g visual-activity off -set-option -g visual-bell off -set-option -g visual-silence off -set-window-option -g monitor-activity off -set-option -g bell-action none - -# Enable hyperlinks -set-option -as terminal-features ",*:hyperlinks" - -# Enable true color support -set -ga terminal-overrides ",*256col*:Tc" -set -ga terminal-overrides ",tmux-256color:Tc" - -set -g default-terminal "tmux-256color" -set -g default-shell $SHELL diff --git a/.config/tmux/plugins.tmux b/.config/tmux/plugins.tmux deleted file mode 100644 index 47b86d1..0000000 --- a/.config/tmux/plugins.tmux +++ /dev/null @@ -1,35 +0,0 @@ -# Plugin manager -set-environment -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.config/tmux/plugins/" -set-option -g @plugin 'tmux-plugins/tpm' - -# 'Sensible' set of defaults -set-option -g @plugin 'tmux-plugins/tmux-sensible' - -# Tmux FZF is a plugin that integrates FZF with tmux -TMUX_FZF_ORDER="session|window|pane|command|keybinding" -TMUX_FZF_OPTIONS="-p -w 90% -h 70% -m" -set-option -g @plugin 'sainnhe/tmux-fzf' - -# Resurrect is a plugin that saves and restores tmux sessions -set-option -g @plugin 'tmux-plugins/tmux-resurrect' -set-option -g @resurrect-save 'S' -set-option -g @resurrect-restore 'R' - -# Continuum is a plugin that automatically saves tmux sessions -# at regular intervals -set-option -g @plugin 'tmux-plugins/tmux-continuum' -set-option -g @continuum-restore 'on' -set-option -g @continuum-save-interval '15' -set-option -g @resurrect-strategy-nvim 'session' - -# Vim Tmux Navigator allows you to navigate between Vim and tmux panes -set-option -g @plugin 'christoomey/vim-tmux-navigator' - -set-option -g @plugin 'tmux-plugins/tmux-yank' -set-option -g @plugin 'tmux-plugins/tmux-open' - -set-option -g @plugin "arcticicestudio/nord-tmux" - -set-option -g @plugin 'https://git.sr.ht/~eugenetriguba/tmux-toggle-term' - -run '$HOME/.config/tmux/plugins/tpm/tpm' diff --git a/.config/tmux/vi.tmux b/.config/tmux/vi.tmux deleted file mode 100644 index 85f2f37..0000000 --- a/.config/tmux/vi.tmux +++ /dev/null @@ -1,6 +0,0 @@ -set-window-option -g mode-keys vi - -# Use visual selection mode as vi -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 |