aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matheus Ribeiro <matheusribeiro@touchtec.com.br> 2024-02-01 22:15:29 +0000
committerGravatar Matheus Ribeiro <matheusribeiro@touchtec.com.br> 2024-02-01 22:15:29 +0000
commit15a3f900b52e5e34f3186f89282b5c551834ca6a (patch)
tree962bc181ae2bd3554ba14dd0b9defb7bebc6935f
parentb8e7bfec8ddfda1484db748f06663cd3378ce8cc (diff)
atualização das configurações do tmux + plugins
-rw-r--r--tmux/tmux.conf34
1 files changed, 17 insertions, 17 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 5ce5a6c..cae6e9b 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -11,8 +11,10 @@ bind C-space send-prefix
bind ":" command-prompt
+bind "?" list-key
+
# set bind key to reload configuration file
-bind C-r source-file ~/.config/tmux/tmux.conf \; display ​"Reloaded!"
+bind R source-file ~/.tmux.conf \; display ​"Reloaded!"
bind Space copy-mode
bind -T copy-mode Escape send-keys -X cancel
@@ -36,31 +38,25 @@ bind -n WheelUpPane copy-mode -e
bind -T copy-mode WheelUpPane send -X -N 5 scroll-up
bind -T copy-mode WheelDownPane send -X -N 5 scroll-down
-bind -n MouseDrag1Pane copy-mode -M
-bind -T copy-mode MouseDrag1Pane send -X begin-selection
-bind -T copy-mode MouseDragEnd1Pane send -X copy-selection-no-clear
-
bind k kill-pane
-bind C-k kill-pane
bind Tab last-pane
-bind C-Tab last-pane
-bind v split-pane -h
-bind C-v split-pane -h
-bind h split-pane -v
-bind C-h split-pane -v
+bind v split-pane -h -c "#{pane_current_path}"
+bind h split-pane -v -c "#{pane_current_path}"
bind o select-pane -t :.+
-bind C-o select-pane -t :.+
+bind z resize-pane -Z
-bind C-d detach-client
bind d detach-client
-bind C-S-k kill-window
+bind [ switch-client -p
+bind ] switch-client -n
+
+bind C-k unlink-window -k
bind C-Tab last-window
bind n new-window
bind C-p previous-window
bind C-n next-window
-bind C-S-p swap-window -t -1
-bind C-S-n swap-window -t +1
+bind C-P swap-window -t -1
+bind C-N swap-window -t +1
# --- Config --- #
@@ -120,7 +116,11 @@ set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'tmux-plugins/tmux-copycat'
-set -g @plugin 'alexwforsythe/tmux-which-key'
+set -g @plugin 'tmux-plugins/tmux-yank'
+
+set -g @plugin 'sainnhe/tmux-fzf'
+
+set -g @plugin 'noscript/tmux-mighty-scroll'
# Other examples:
# set -g @plugin 'github_username/plugin_name'