pub / dotfiles

Configuration of software on my computer
git clone https://src.jayvii.de/pub/dotfiles.git
Home | Log | Files | Exports | Refs | RSS

.tmux.conf (1967B)


      1 # Use <C-y> instead of the default <C-b> as Tmux prefix
      2 unbind-key C-b
      3 set-option -g prefix C-y
      4 bind-key C-y send-prefix
      5 
      6 # Options to enable mouse support in Tmux
      7 #set -g terminal-overrides 'xterm*:smcup@:rmcup@'
      8 # For Tmux >= 2.1
      9 set -g mouse on
     10 
     11 # Escape time for libtermkey
     12 # (see https://github.com/neovim/neovim/issues/2035):
     13 set -sg escape-time 0
     14 
     15 # Act more like vi:
     16 #set-window-option -g mode-keys vi
     17 
     18 # Set history limits
     19 set -g history-limit 2000
     20 
     21 # split-controls (shift+arrow)
     22 bind -n C-left select-pane -L
     23 bind -n C-down select-pane -D
     24 bind -n C-up select-pane -U
     25 bind -n C-right select-pane -R
     26 
     27 # tab-controls (alt+arrow)
     28 #bind -n M-left previous-window
     29 #bind -n M-right next-window
     30 #bind -n C-t new-window -a "/usr/bin/nvim"
     31 #bind -n C-r split-window "/usr/bin/R --no-save"
     32 
     33 bind -n C-h split-window -v -c '#{pane_current_path}'
     34 bind -n C-v split-window -h -c '#{pane_current_path}'
     35 
     36 
     37 # If environment variables that you need are not becoming available for R,
     38 # export them in your ~/.bashrc and uncomment and edit this line:
     39 # set -g update-environment "R_LIBS_USER R_LIBS R_PAPERSIZE"
     40 #
     41 # Color-support
     42 #set -g default-terminal "screen-256color"
     43 set -g default-terminal "xterm-256color"
     44 set-option -sa terminal-overrides ",xterm*:Tc"
     45 
     46 # Turn off status bar
     47 #set -g status off
     48 
     49 # Theme
     50 #source-file "${HOME}/.tmux-themepack/basic.tmuxtheme"
     51 #source-file "${HOME}/.tmux-themepack/powerline/block/gray.tmuxtheme"
     52 #source-file "${HOME}/Develop/nord-tmux/nord.tmux"
     53 
     54 #set -g status on
     55 set -g status off
     56 set -g status-bg default
     57 set -g status-fg "#5F5FAF"
     58 #set -g status-fg "#8A8A8A"
     59 #set -g status-fg "#FFFFFF"
     60 #set -g window-status-current-bg "#5F5FAF"
     61 #set -g window-status-current-bg "#fE8019"
     62 #set -g window-status-current-fg "#FFFFFF"
     63 set -g status-position top
     64 set -g status-justify left
     65 #set -g window-status-attr none
     66 set -g status-right ""
     67 set -g status-left ""
     68 
     69 #run-shell ~/.local/src/tmux-yank/yank.tmux
     70 
     71 #set-option -g destroy-unattached on