diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 12:16:38 -0500 |
| commit | b10cba594db836c0747066addad48bda4d30cd02 (patch) | |
| tree | 063119a623fa3f7139feda4ef302896d8f5f934c /dotfiles/common/.tmux.conf | |
| parent | 49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (diff) | |
| download | archsetup-b10cba594db836c0747066addad48bda4d30cd02.tar.gz archsetup-b10cba594db836c0747066addad48bda4d30cd02.zip | |
refactor: drop in-repo dotfiles/, move stow tooling to the dotfiles repo
Since the installer clones DOTFILES_REPO into ~/.dotfiles and stows from there, the in-repo dotfiles/ tree was dead weight. Nothing reads it at install time. I removed it (831 files) now that both machines are migrated.
The Makefile's stow / restow / reset / unstow / import targets and the dotfile-script unit suites moved to the dotfiles repo. They sit alongside the scripts they manage and run standalone (cd ~/.dotfiles && make ...). This Makefile keeps the VM-integration targets and the installer-helper suite (safe-rm-rf).
I updated CLAUDE.md and README.md so stow operations run from ~/.dotfiles, and the dotfile-management, theme, and unit-test sections point at the standalone repo. The README was already describing the old in-repo model from before the installer switched to cloning. This brings it in line.
Diffstat (limited to 'dotfiles/common/.tmux.conf')
| -rw-r--r-- | dotfiles/common/.tmux.conf | 99 |
1 files changed, 0 insertions, 99 deletions
diff --git a/dotfiles/common/.tmux.conf b/dotfiles/common/.tmux.conf deleted file mode 100644 index 6c18a05..0000000 --- a/dotfiles/common/.tmux.conf +++ /dev/null @@ -1,99 +0,0 @@ -# note: refresh the list of plugins = prefix + capital I - -# enable mouse support -set -g mouse on - -# enabling passthrough for kitty image rendering -set -g allow-passthrough on - -# make scrolling with wheels work -bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" -bind -n WheelDownPane select-pane -t= \; send-keys -M - -# list of plugins -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'tmux-plugins/tmux-open' -set -g @plugin 'tmux-plugins/tmux-logging' -set -g @plugin 'tmux-plugins/tmux-yank' -set -g @plugin 'tmux-plugins/tmux-sessionist' -set -g @plugin 'MunifTanjim/tmux-mode-indicator' -set -g @plugin 'MunifTanjim/tmux-suspend' -set-option -g @plugin 'b0o/tmux-autoreload' - -# yank to the clipboard when selecting with the mouse -set -g @yank_selection_mouse 'clipboard' - -# plugin Settings -set -g @mighty-scroll-interval 3 -set -g @mighty-scroll-by-line 'man fzf' -set -g @mighty-scroll-select-pane off - -# put tmux mode indicator on right -set -g status-right '%Y-%m-%d %H:%M #{tmux_mode_indicator}' - -# gruvbox compatible colours -set -g status-fg colour0 -set -g status-bg colour15 - -# number the panes and match keyboard order -set -g base-index 1 -set -g pane-base-index 1 -set -g renumber-windows on - -# address vim mode switching delay (http://superuser.com/a/252717/65504) -set -s escape-time 0 - -# tmux messages are displayed for 4 seconds -set -g display-time 4000 - -# upgrade $TERM -set -g default-terminal "screen-256color" - -# prefix r reloads config -bind r source-file ~/.tmux.conf \; display "tmux config reloaded" - -# keep path with new window -bind c new-window -c "#{pane_current_path}" - -# split window horizontally -bind-key "|" split-window -h -c "#{pane_current_path}" -bind-key "\\" split-window -fh -c "#{pane_current_path}" - -# split window vertically -bind-key "-" split-window -v -c "#{pane_current_path}" -bind-key "_" split-window -fv -c "#{pane_current_path}" - -# easier and faster switching between next/prev window -bind C-p previous-window -bind C-n next-window - -# prefix shift + W moves to last window -# note: prefix shift S moves to last session with sessionist plugin -bind W last-window - -# increase scrollback buffer -set-option -g history-limit 100000 - -# don't allow suspending client -unbind-key C-z - -# emacs key bindings in tmux command prompt (prefix + :) -set -g status-keys emacs - -# copy-mode keys mirror the Emacs cj/vterm-tmux-history story -# (~/.emacs.d/modules/vterm-config.el): M-w copies to the system -# clipboard via wl-copy and stays in mode for repeated copying; -# q / Escape / C-g exit without copying; Enter is unbound so RET -# has no "copy and exit" shortcut. `copy-selection' alone writes -# only to tmux's internal paste buffer; the pipe-no-clear variant -# reaches the OS clipboard and keeps the selection visible. -bind-key -T copy-mode M-w send-keys -X copy-pipe-no-clear "wl-copy" -bind-key -T copy-mode C-g send-keys -X cancel -unbind-key -T copy-mode Enter - -# install tmux plugins automatically when tmux is started -if "test ! -d ~/.tmux/plugins/tpm" \ - "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" - -# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) -run '~/.tmux/plugins/tpm/tpm' |
