Skip to content

Instantly share code, notes, and snippets.

@0xack13
Last active January 27, 2025 15:36
Show Gist options
  • Save 0xack13/8f7572a5ae22daead4d015d8ac44bf8f to your computer and use it in GitHub Desktop.
Save 0xack13/8f7572a5ae22daead4d015d8ac44bf8f to your computer and use it in GitHub Desktop.
Brewfile
source-file ${HOME}/.tmux-themepack/powerline/default/green.tmuxtheme
setw -g mouse on
bind -T copy-mode-vi y send -X copy-pipe "xclip -selection c"
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
bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -T copy-mode-vi C-WheelUpPane send-keys -X halfpage-up
bind -T copy-mode-vi C-WheelDownPane send-keys -X halfpage-down
bind -T copy-mode-emacs C-WheelUpPane send-keys -X halfpage-up
bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down
# To copy, left click and drag to highlight text in yellow,
# once you release left click yellow text will disappear and will automatically be available in clibboard
# # Use vim keybindings in copy mode
setw -g mode-keys vi
# Update default binding of `Enter` to also use copy-pipe
unbind -T copy-mode-vi Enter
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
set -g mouse on
set -g status-right ' 🕑 #(TZ="UTC" date +%%H:%%M:%%S) | 🇦🇺 #(TZ="Australia/Sydney" date +%%H:%%M:%%S) '
tap "d12frosted/emacs-plus"
tap "homebrew/bundle"
tap "jesseduffield/lazygit"
brew "bat"
brew "eza"
brew "fd"
brew "fzf"
brew "git"
brew "go"
brew "jq"
brew "lima"
brew "loc"
brew "neovim"
brew "nnn"
brew "node"
brew "ripgrep"
brew "starship"
brew "tmux"
brew "wget"
brew "xplr"
brew "yq"
brew "zig"
brew "zoxide"
brew "zsh"
brew "d12frosted/emacs-plus/emacs-plus@29", args: ["with-modern-black-gnu-head-icon", "with-native-comp"]
brew "jesseduffield/lazygit/lazygit"
cask "kitty"
cask "wezterm"
vscode "github.copilot"
vscode "github.copilot-chat"
vscode "github.github-vscode-theme"
vscode "johnpapa.vscode-peacock"
vscode "ms-python.debugpy"
vscode "ms-python.python"
vscode "ms-python.vscode-pylance"
vscode "rust-lang.rust-analyzer"
vscode "vscodevim.vim"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment