fixed copying
This commit is contained in:
parent
8de9afd9ae
commit
06b99c4f4f
@ -9,9 +9,6 @@ bind-key -n C-a send-prefix
|
|||||||
set-option -g default-shell /bin/zsh
|
set-option -g default-shell /bin/zsh
|
||||||
|
|
||||||
#for copying to sys clipboard
|
#for copying to sys clipboard
|
||||||
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
|
|
||||||
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
|
|
||||||
bind -T copy-mode-vi C-j send-keys -X copy-pipe-and-cancel "xclip -i -f -selection primary | xclip -i -selection clipboard"
|
|
||||||
|
|
||||||
bind | split-window -h
|
bind | split-window -h
|
||||||
bind - split-window -v
|
bind - split-window -v
|
||||||
@ -42,6 +39,12 @@ set -g default-terminal "screen-256color"
|
|||||||
bind-key -n Home send Escape "OH"
|
bind-key -n Home send Escape "OH"
|
||||||
bind-key -n End send Escape "OF"
|
bind-key -n End send Escape "OF"
|
||||||
|
|
||||||
|
# copying
|
||||||
|
set -g set-clipboard on
|
||||||
|
set -g @override_copy_command 'xclip -i -selection clipboard'
|
||||||
|
set -g @yank_selection 'clipboard'
|
||||||
|
set -as terminal-features ',*:clipboard'
|
||||||
|
|
||||||
# Vim style pane selection
|
# Vim style pane selection
|
||||||
bind h select-pane -L
|
bind h select-pane -L
|
||||||
bind j select-pane -D
|
bind j select-pane -D
|
||||||
|
Loading…
x
Reference in New Issue
Block a user