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
| # Our .tmux.conf file | |
| # Setting the prefix from C-b to C-s | |
| set -g prefix C-s | |
| # enable vi keys. | |
| setw -g mode-keys vi | |
| # Free the original Ctrl-b prefix keybinding | |
| unbind C-b | |
| #setting the delay between prefix and command | |
| set -sg escape-time 1 |
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
| # vim style tmux config | |
| # use C-a, since it's on the home row and easier to hit than C-b | |
| set-option -g prefix C-a | |
| unbind-key C-a | |
| bind-key C-a send-prefix | |
| set -g base-index 1 | |
| # Easy config reload | |
| bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded." |
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
| " ----------------------------------------------------------------------------- | |
| " -- Navigation | |
| " Find start of next number | |
| noremap <silent> <c-f> /\<\d<CR> | |
| "noremap <silent> <c-t> ?\<\d<CR> | |
| " open empty tab | |
| noremap <silent> <c-t> :tabe<CR> |