resdet config tmux ajout plugins, on va repartir sur neovim
parent
9adae124eb
commit
63bcfb5ff5
|
|
@ -1,16 +1,30 @@
|
|||
## Use vim keybindings in copy mode
|
||||
set-option -g mouse off
|
||||
setw -g mouse on
|
||||
|
||||
bind C-p previous-window
|
||||
bind C-n next-window
|
||||
|
||||
# Source .tmux.conf as suggested in `man tmux`
|
||||
bind R source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
bind-key v copy-mode
|
||||
set-option -g default-shell /bin/bash
|
||||
|
||||
setw -g mode-keys vi
|
||||
set-option -s set-clipboard off
|
||||
bind P paste-buffer
|
||||
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi y send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
|
||||
unbind -T copy-mode-vi Enter
|
||||
#bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -se c -i'
|
||||
|
||||
set-option -g history-limit 100000
|
||||
|
||||
# pane navigation avec ctrl+hjkl
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
|
||||
# theme nord
|
||||
set -g @plugin "nordtheme/tmux"
|
||||
|
||||
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue