Quantcast
Viewing all articles
Browse latest Browse all 74

Unusual behoiur in tmux, Tab clears the pane when it's not set to

For some unknown reason in Tmux the 'Tab' key clears the pane I'm in, which is annoying when I use 'Tab' to indent in Neovim and 'Shift Tab' to unindent.

Is there a way to fix this (stop 'Tab' clearing my panes and work as intended)

I've tested this in the default Mac terminal and iterm2, and it happens in both.

Outside of Tmux the 'Tab' key works fine in both terminals, indenting 4 or so spaces.

Also, I have C-i mapped to clear a pane usually.

Here is my .tmux.conf for reference:

set -g default-terminal 'screen-256color'set -g prefix C-aunbind C-bbind-key C-a send-prefixunbind %bind | split-window -hunbind '"'bind - split-window -vunbind rbind r source-file ~/.tmux.confbind -r j resize-pane -D 5bind -r k resize-pane -U 5bind -r l resize-pane -R 5bind -r h resize pane -L 5bind -r m resize-pane -Zset -g mouse onset-window-option -g mode-keys vibind-key -T copy-mode-vi 'v' send -X begin-selection bind-key -T copy-mode-vi 'y' send -X copy-selectionunbind -T copy-mode-vi MouseDragEnd1Panebind C-i send-keys -R \; send-keys C-l \; clear-historyset -sg escape-time 10set -g @plugin 'tmux-plugins/tpm'set -g @plugin 'christoomey/vim-tmux-navigator'set -g @plugin 'jimeh/tmux-themepack'set -g @plugin 'tmux-plugins/tmux-resurrect'set -g @plugin 'tmux-plugins/tmux-continuum'set-g @thempack 'powerline/default/cyan'set -g resurrect-capture-pane-contents 'on'set -g @continuum-restore 'on'run '~/.tmux/plugins/tpm/tpm'

Viewing all articles
Browse latest Browse all 74

Trending Articles