Created
April 2, 2026 08:13
-
-
Save thass0/68a24fcfbbe4cfcc99fe4a0ae0a20813 to your computer and use it in GitHub Desktop.
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 characters
| # Ctrl-b is the default prefix for Tmux, but it conflicts with Emacs/Shell-style | |
| # bindings and Vim. Ctrl-Space on the other hand is easy to press and doesn't | |
| # lead to conflicts. | |
| set -g prefix C-Space | |
| unbind C-b | |
| bind C-Space send-prefix | |
| # Ensure tmux passes the current working directory to new panes | |
| bind-key c new-window -c "#{pane_current_path}" | |
| bind-key % split-window -h -c "#{pane_current_path}" | |
| bind-key '"' split-window -v -c "#{pane_current_path}" | |
| bind-key k select-pane -U | |
| bind-key j select-pane -D | |
| bind-key l select-pane -R | |
| bind-key h select-pane -L | |
| set -g mouse on | |
| set -g history-limit 10000 | |
| set -g default-terminal "screen-256color" | |
| set -s set-clipboard off | |
| set -s copy-command 'wl-copy' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment