update
This commit is contained in:
parent
28ca42d375
commit
4104f13f25
12 changed files with 71 additions and 24 deletions
|
|
@ -1,16 +1,25 @@
|
|||
#set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
|
||||
#set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
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' 'copy-mode -e'"
|
||||
setw -g mode-keys vi
|
||||
bind -T copy-mode-vi WheelUpPane send -X scroll-up
|
||||
bind -T copy-mode-vi WheelDownPane send -X scroll-down
|
||||
#set-option -g aggressive-resize off
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
set -g set-clipboard on
|
||||
set -g @yank_selection_mouse 'clipboard'
|
||||
set -g @yank_selection 'clipboard'
|
||||
|
||||
unbind C-b
|
||||
set -g prefix C-Space
|
||||
bind C-Space send-prefix
|
||||
set -g allow-passthrough on
|
||||
|
||||
set -ga update-environment TERM
|
||||
set -ga update-environment TERM_PROGRAM
|
||||
#set -g default-terminal "screen-256color"
|
||||
#set -ga update-environment TERM
|
||||
#set -ga update-environment TERM_PROGRAM
|
||||
|
||||
# Vim style pane selection
|
||||
bind h select-pane -L
|
||||
|
|
@ -39,8 +48,8 @@ bind -n S-Left previous-window
|
|||
bind -n S-Right next-window
|
||||
|
||||
# Shift Alt vim keys to switch windows
|
||||
#bind -n M-H previous-window
|
||||
#bind -n M-L next-window
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
|
|
@ -51,6 +60,7 @@ set -g @plugin 'pschmitt/tmux-ssh-split'
|
|||
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||
|
||||
set -g @catppuccin_flavor 'mocha'
|
||||
|
||||
# set vi-mode
|
||||
set-window-option -g mode-keys vi
|
||||
# keybindings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue