diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-04-01 16:04:44 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-04-01 16:04:44 +0200 |
| commit | 1921a5fe38ea693c5db6bad76ccb03db74fa7b36 (patch) | |
| tree | 58b2424c45e16799a242aacb02448ca7047effb7 | |
| parent | fa1c293314f8f02a26b5ff1ec264472511a50153 (diff) | |
Use the long commands instead of using aliases
| -rw-r--r-- | .tmux.conf | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -1,20 +1,21 @@ -set -g default-terminal "xterm-256color" +set-option -g default-terminal "xterm-256color" -set -g allow-rename off # Don't allow pane automatic renaming -set -g mouse on # mouse behavior -set -g base-index 1 # start indexing from 1 not 0 -set -g pane-base-index 1 # start indexing from 1 not 0 -set -g history-limit 10000 # Scroll History limit -set -g display-time 4000 # messages are displayed for 4 seconds -set -g focus-events on # focus events enabled for terminals that support them -set -g status-keys emacs # emacs binding status commands: https://unix.stackexchange.com/questions/383420/ +set-option -g allow-rename off # Don't allow pane automatic renaming +set-option -g mouse on # mouse behavior +set-option -g base-index 1 # start indexing from 1 not 0 +set-option -g pane-base-index 1 # start indexing from 1 not 0 +set-option -g history-limit 10000 # Scroll History limit +set-option -g display-time 4000 # messages are displayed for 4 seconds +set-option -g focus-events on # focus events enabled for terminals that support them +set-option -g status-keys emacs # emacs binding status commands: https://unix.stackexchange.com/questions/383420/ -set -s escape-time 50 # lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. +set-option -s escape-time 50 # lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access. -setw -g alternate-screen on # allow running alternate screen (term feature) on tmux -setw -g mode-keys vi # Vi mode and copy paste +set-window-option -g alternate-screen on # allow running alternate screen (term feature) on tmux +set-window-option -g mode-keys vi # Vi mode and copy paste bind-key -T copy-mode-vi 'v' send-keys -X begin-selection bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel +bind-key -n C-k clear-history # Load OSX specific configurations to add (fix copy) if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-osx.conf' |
