diff options
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -36,6 +36,8 @@ bind r source-file ~/.tmux.conf bind-key -r C-h select-window -t :- bind-key -r C-l select-window -t :+ + + # quick pane cycling unbind ^A bind ^A select-pane -t :.+ @@ -45,12 +47,17 @@ bind ^A select-pane -t :.+ bind -n C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L" bind -n C-n run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D" bind -n C-p run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U" -bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" +#bind -n C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R" #alternative for ctrl-l bind l send-keys 'C-l' # setup a decent environment bind m source-file ~/.tmux/thesetup +bind C-f source-file ~/.tmux/write-fict +bind C-l source-file ~/.tmux/write-lux +bind C-w source-file ~/.tmux/write-wire +bind C-d source-file ~/.tmux/dev + set -g status-left-length 52 set -g status-right-length 451 @@ -63,7 +70,6 @@ set-option -g message-style fg=colour16,bg=colour221,bold set -g status-left '#[fg=colour235,bg=colour252,bold] #S #[fg=colour252,bg=colour238,nobold]#[fg=colour245,bg=colour238,bold] #(whoami) #[fg=colour238,bg=colour234,nobold]' set -g window-status-format "#[fg=white,bg=colour234] #I #W " - set -g default-terminal "screen-256color" set-window-option -g automatic-rename off set-option -g allow-rename off @@ -73,10 +79,5 @@ bind -n C-w run "set status" set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-yank' -# Other examples: -# set -g @plugin 'github_username/plugin_name' -# set -g @plugin 'git@github.com/user/plugin' -# set -g @plugin 'git@bitbucket.com/user/plugin' - # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run -b '~/.tmux/plugins/tpm/tpm' |