X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=tmux%2F.tmux.conf;h=512bf7d5560ea33ca73d9dddb6126b2a14dfff84;hb=acc0c4539f489bde52ad92906a6b4eba13346107;hp=c59768cdc34863856720d6fb5c8a5c73ef1c7fad;hpb=47f7d2b5f4a10a65950b0e3d5b07694bb2ce5dfa;p=dotfiles.git diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index c59768c..512bf7d 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,9 +1,12 @@ set-option -g mode-keys vi set-option -g base-index 1 set-option -g default-terminal "screen-256color" -set-option -g escape-time 50 +set-option -g escape-time 1 set-option -g repeat-time 0 set-option -g history-limit 20000 +set-option -g renumber-windows on +set-option -g terminal-features[0] "screen*:title:clipboard:ccolour:cstyle" +set-option -gU terminal-features[1] set-option -g prefix C-a unbind-key C-b @@ -12,9 +15,11 @@ bind-key C-a send-prefix bind-key -n C-PgUp previous-window bind-key -n C-PgDn next-window bind-key -n S-PgUp copy-mode -u + bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" +bind ] paste-buffer -p set-option -g status-style "bg=black,fg=white" set-option -g status-left "#S>" @@ -23,13 +28,16 @@ set-option -g status-justify centre set-window-option -g automatic-rename on set-window-option -g window-status-format "#I:#W:#T#F" -set-window-option -g window-status-bg green -set-window-option -g window-status-fg black +set-window-option -g window-status-style "bg=green fg=black" set-window-option -g window-status-current-format "#I:#W#F" -set-window-option -g window-status-current-bg red -set-window-option -g window-status-last-bg cyan +set-window-option -g window-status-current-style "bg=red" +set-window-option -g window-status-last-style "bg=cyan" -bind-key u capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'urlview /tmp/tmux-buffer' \; delete-buffer -bind-key y capture-pane -J \; save-buffer /tmp/tmux-buffer \; split-window 'vim /tmp/tmux-buffer' \; delete-buffer bind-key b set-option status unbind-key L + +source-file ~/.tmux/rc/urlview +source-file ~/.tmux/rc/capture +source-file ~/.tmux/rc/menu-various +source-file ~/.tmux/rc/menu-fzf +source-file ~/.tmux/rc/select-command-output