From cc26673603ec46b1b6a43680bf3fe4fc53ed262f Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Thu, 3 Oct 2024 11:49:17 -0400 Subject: [PATCH] chore: removing unused elements --- ...executable_safe-reattach-to-user-namespace | 8 --- home/dot_tmux.conf | 52 ------------------- 2 files changed, 60 deletions(-) delete mode 100644 home/bin/executable_safe-reattach-to-user-namespace delete mode 100644 home/dot_tmux.conf diff --git a/home/bin/executable_safe-reattach-to-user-namespace b/home/bin/executable_safe-reattach-to-user-namespace deleted file mode 100644 index c4200fd..0000000 --- a/home/bin/executable_safe-reattach-to-user-namespace +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env zsh - -# If reattach-to-user-namespace is not available, just run the command. -if [ -n "$(command -v reattach-to-user-namespace)" ]; then - reattach-to-user-namespace $@ -else - exec "$@" -fi diff --git a/home/dot_tmux.conf b/home/dot_tmux.conf deleted file mode 100644 index 93936d6..0000000 --- a/home/dot_tmux.conf +++ /dev/null @@ -1,52 +0,0 @@ -# need to set escape-time first, for wsl deploys -set -sg escape-time 50 -setw -g automatic-rename - -set-option -g default-shell $SHELL -# set -g default-command "~/bin/safe-reattach-to-user-namespace -l ${SHELL}" -set -g default-terminal "screen-256color" -set -g allow-passthrough on - -set -g prefix C-a -unbind C-b -bind C-a last-window - -unbind r -bind r source-file ~/.tmux.conf - -set -g base-index 1 - -bind c new-window -c "#{pane_current_path}" -bind % split-window -h -c "#{pane_current_path}" -bind '"' split-window -c "#{pane_current_path}" - -set-window-option -g mode-keys vi -bind h select-pane -L -bind j select-pane -D -bind k select-pane -U -bind l select-pane -R - -set-option -g status-bg colour18 -set-option -g status-fg colour136 -set -g status-justify centre -set -g status-left-length 50 -set -g status-right-length 140 -set -g status-left '#[fg=green]#H#[default] session:#S' -set -g status-right '\ -#[fg=black,bg=colour119]#(cd ~/.password-store/.bin && ./check_status.sh)#[default] \ -#[fg=black,bg=colour207]#(cd ~/.dotfiles && ./check_status.sh)#[default] \ -#[fg=black,bg=colour226]#(cd ~/.ssh/.bin && ./check_status.sh)#[default] \ -#[fg=black,bg=colour215]#(cd ~/projects/personal/notes/.bin && ./check_status.sh)#[default] \ -#[fg=white,bg=default]%a %l:%M:%S %p#[default] #[fg=blue]%Y-%m-%d' - -set-option -g renumber-windows on -set-option -g destroy-unattached 'off' - -# Enable mouse control (clickable windows, panes, resizable panes) -set -g mouse on - -bind-key -T copy-mode-vi 'v' send -X begin-selection -bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel -# NOTE: the following line is for macos, but its presence doesnt seem to be a prob. on linux -bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy' -bind-key p paste-buffer