mirror of
https://github.com/tomru/dotfiles.git
synced 2026-03-02 22:17:15 +01:00
42 lines
802 B
Bash
42 lines
802 B
Bash
# can't like ctrl-a
|
|
unbind C-b
|
|
set-option -g prefix C-a
|
|
bind-key C-a send-prefix
|
|
|
|
set-option -g history-limit 25000
|
|
set -g mouse on
|
|
|
|
# for neovim
|
|
set -sg escape-time 10
|
|
|
|
# vi for copy mode
|
|
setw -g mode-keys vi
|
|
|
|
# status bar
|
|
set -g status-style "fg=#665c54"
|
|
set -g status-left-style "fg=#928374"
|
|
|
|
set -g status-bg default
|
|
set -g status-position top
|
|
set -g status-interval 1
|
|
set -g status-left ""
|
|
|
|
# disable status
|
|
# set -g status off
|
|
# set -g status on
|
|
|
|
# count the panes from 1
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# reload configuration
|
|
bind-key -r r source-file ~/.tmux.conf
|
|
|
|
# next/prev window (with repeat)
|
|
bind-key -r j next-window
|
|
bind-key -r k previous-window
|
|
|
|
# term colors, these are the correct ones according to neovim checkhealth
|
|
|
|
set-option -g default-terminal "screen-256color"
|