Tmux, zsh!
This commit is contained in:
parent
c4fdb14976
commit
910e0cecbd
2 changed files with 41 additions and 3 deletions
|
@ -1,13 +1,39 @@
|
|||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
unbind r
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
unbind C-b
|
||||
unbind C-t
|
||||
unbind C-b
|
||||
set -g prefix C-t
|
||||
set -g mouse on
|
||||
|
||||
set -g @cursor-style 'bar'
|
||||
set -g base-index 1
|
||||
set -g pane-base-index 1
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
|
||||
# set -g @cursor-style 'bar'
|
||||
# set -ga terminal-overrides ',*:Ss=\E[2 q:Se=\E[2 q'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
|
||||
set -g @vim_navigator_mapping_left "C-Left"
|
||||
set -g @vim_navigator_mapping_right "C-Right"
|
||||
set -g @vim_navigator_mapping_up "C-Up"
|
||||
set -g @vim_navigator_mapping_down "C-Down"
|
||||
|
||||
set-window-option -g mode-keys vi
|
||||
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
bind v split-window -v
|
||||
bind h split-window -h
|
||||
|
||||
# bind -n S-Left previous-window
|
||||
# bind -n S-Right next-window
|
||||
|
||||
run '/usr/share/tmux-plugin-manager/tpm'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue