diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2022-08-13 16:18:31 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2022-08-13 16:18:31 +0200 |
| commit | 4bfc180939d86c181da6e258c813344cf0a21f6d (patch) | |
| tree | 4053192f84d1c4b322bfe398d7dfa3b5ce0a51fd /config/tmux | |
| parent | a9199ba1d8ea09aa92e7dbbc1b08c3d06018ad53 (diff) | |
| parent | 414a32702300e073d221d462599dd92f11ed9411 (diff) | |
| download | dotfiles-4bfc180939d86c181da6e258c813344cf0a21f6d.tar.gz dotfiles-4bfc180939d86c181da6e258c813344cf0a21f6d.tar.bz2 dotfiles-4bfc180939d86c181da6e258c813344cf0a21f6d.zip | |
Merge branch 'master' of github.com:cacharle/dotfiles
Diffstat (limited to 'config/tmux')
| -rw-r--r-- | config/tmux/tmux.conf | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index c514718..777810f 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -2,22 +2,44 @@ unbind C-b set -g prefix C-a bind C-a send-prefix -set -g default-terminal "xterm-256color" +# set -g default-terminal "xterm-256color" + +# NOTE: recommended by neovim but disliked by ssh +set -g default-terminal "screen-256color" +set -sa terminal-overrides ',xterm-256color:RGB' + +set -g focus-events on +set -g history-limit 5000 +set -s history-file '~/.local/share/tmux/history' + set -g mouse on setw -g mode-keys vi set -sg escape-time 0 # otherwise <ESC> in vim has a small delay -set-option -g history-limit 5000 +set -sg bell-action none +set -sg status-keys vi bind '"' split-window -c "#{pane_current_path}" bind '%' split-window -c "#{pane_current_path}" -h bind 'c' new-window -c "#{pane_current_path}" +bind R source-file ~/.config/tmux/tmux.conf + + +set -g status-right-length 100 set -g @plugin 'tmux-plugins/tpm' +# set -g @plugin 'egel/tmux-gruvbox' +# set -g @tmux-gruvbox 'dark' +set -g @plugin 'arcticicestudio/nord-tmux' +set -g @plugin 'tmux-plugins/tmux-prefix-highlight' +set -g @plugin 'wfxr/tmux-fzf-url' + +# show copy/sync mode with tmux-prefix-highlight +set -g @prefix_highlight_show_copy_mode 'on' +set -g @prefix_highlight_copy_mode_attr 'fg=black,bg=yellow,bold' # default is 'fg=default,bg=yellow' +set -g @prefix_highlight_show_sync_mode 'on' +set -g @prefix_highlight_sync_mode_attr 'fg=black,bg=green' # default is 'fg=default,bg=yellow' -set -g @plugin 'egel/tmux-gruvbox' -set -g @tmux-gruvbox 'dark' -# set -g @plugin 'tomhey/tmux-remote-sessions' run "$XDG_CONFIG_HOME/tmux/plugins/tpm/tpm" |
