Better copy and mouse handling
This commit is contained in:
@@ -39,6 +39,12 @@ program = "alacritty"
|
|||||||
[scrolling]
|
[scrolling]
|
||||||
history = 0
|
history = 0
|
||||||
|
|
||||||
|
[selection]
|
||||||
|
save_to_clipboard = false
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
osc52 = "OnlyCopy"
|
||||||
|
|
||||||
[terminal.shell]
|
[terminal.shell]
|
||||||
args = ["-c", "$HOME/.tmux/tmux_attach.sh"]
|
args = ["-c", "$HOME/.tmux/tmux_attach.sh"]
|
||||||
program = "/bin/zsh"
|
program = "/bin/zsh"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ bind k clear-history\; display "History cleared"
|
|||||||
|
|
||||||
bind-key a set-window-option synchronize-panes
|
bind-key a set-window-option synchronize-panes
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf\; display "Conf reloaded!"
|
bind r source-file ~/.tmux.conf\; display "Tmux conf reloaded!"
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
@@ -79,6 +79,7 @@ set -g @yank_with_mouse off
|
|||||||
set -g @yank_action 'copy-pipe'
|
set -g @yank_action 'copy-pipe'
|
||||||
bind-key -Tcopy-mode-vi 'C-right' send -X next-word
|
bind-key -Tcopy-mode-vi 'C-right' send -X next-word
|
||||||
bind-key -Tcopy-mode-vi 'C-left' send -X previous-word
|
bind-key -Tcopy-mode-vi 'C-left' send -X previous-word
|
||||||
|
unbind-key -T copy-mode-vi MouseDragEnd1Pane
|
||||||
|
|
||||||
if '[ `uname` == Darwin ]' \
|
if '[ `uname` == Darwin ]' \
|
||||||
'source-file ~/.tmux/.mac_config'
|
'source-file ~/.tmux/.mac_config'
|
||||||
@@ -95,7 +96,10 @@ set -g @plugin 'tmux-plugins/tpm'
|
|||||||
set -g @plugin 'tmux-plugins/tmux-open'
|
set -g @plugin 'tmux-plugins/tmux-open'
|
||||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||||
set -g @plugin 'jimeh/tmux-themepack'
|
set -g @plugin 'jimeh/tmux-themepack'
|
||||||
set -g @themepack 'powerline/double/blue'
|
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||||
|
set -g @themepack 'powerline/double/green'
|
||||||
|
|
||||||
|
set -g @tpm-clean 'u'
|
||||||
|
|
||||||
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
|
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user