Compare commits
4 commits
c523a47eca
...
d5f92f0fb9
Author | SHA1 | Date | |
---|---|---|---|
d5f92f0fb9 | |||
72be60dd6e | |||
2284512155 | |||
d884496276 |
1 changed files with 24 additions and 0 deletions
24
_tmux.conf
Executable file
24
_tmux.conf
Executable file
|
@ -0,0 +1,24 @@
|
||||||
|
set -g mouse on
|
||||||
|
# bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'"
|
||||||
|
# bind -n WheelDownPane select-pane -t= \; send-keys -M
|
||||||
|
# bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
|
||||||
|
# bind -t vi-copy C-WheelUpPane halfpage-up
|
||||||
|
# bind -t vi-copy C-WheelDownPane halfpage-down
|
||||||
|
# bind -t emacs-copy C-WheelUpPane halfpage-up
|
||||||
|
# bind -t emacs-copy C-WheelDownPane halfpage-down
|
||||||
|
|
||||||
|
bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||||
|
bind -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "wl-copy"
|
||||||
|
|
||||||
|
setw -g mode-keys vi # I especially like being able to search with /,? when in copy-mode
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-b
|
||||||
|
bind C-b send-prefix
|
||||||
|
unbind-key j
|
||||||
|
bind-key j select-pane -D # Similar to 'C-w j' to navigate windows in Vim
|
||||||
|
unbind-key k
|
||||||
|
bind-key k select-pane -U
|
||||||
|
unbind-key h
|
||||||
|
bind-key h select-pane -L
|
||||||
|
unbind-key l
|
||||||
|
bind-key l select-pane -R
|
Loading…
Add table
Reference in a new issue