Last active
January 27, 2026 11:09
-
-
Save Aadv1k/668871f53c889829236da3e34c2c50ef to your computer and use it in GitHub Desktop.
Created using GPT v3.5; Prompt "Give me a tmux config with the following - bind the c-b to c-a - set the status bar to be black and be at the top - use vim navigation "
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
| unbind C-b | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| set -g status-position top | |
| set -g status-bg black | |
| set -g status-fg white | |
| # https://stackoverflow.com/questions/51639540/tmux-scroll-mode-vim-keybindings | |
| set-window-option -g mode-keys vi | |
| bind-key -T copy-mode-vi v send -X begin-selection | |
| bind-key -T copy-mode-vi V send -X select-line | |
| # Mac | |
| set -s copy-command 'pbcopy' | |
| bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'pbcopy' | |
| # Linux | |
| set -s copy-command 'xclip -in -selection clipboard' | |
| bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment