forked from mathiasbynens/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.tmux.conf
73 lines (58 loc) · 1.99 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
new-session
set-window-option -g mouse on
set -g history-limit 99999999
set -g default-terminal "screen-256color"
## Modeline & Notes ## {
# Fold sections by default
# vim: set foldmarker={,} foldlevel=0 foldmethod=marker spell:
# }
## Core Settings ## {
# Tell tmux to use 256-color terminals
# set -g default-terminal "xterm-256color"
# # Hacky patch to fix clipboard in mvim when mvim is opened from tmux
# set-option -g default-command "reattach-to-user-namespace -l zsh"
# set -g default-command /bin/zsh
# set -g default-shell /bin/zsh
# # Use UTF-8 characters in terminal
# set-option -g status-utf8 on
# # Allows for faster key repetition
# set -s escape-time 0
# # Scroll your way into copy mode (scrollback buffer)
# # and select text for copying with the mouse
# set -g mode-mouse on
# # Just click it
# set-option -g mouse-select-pane on
# set-option -g mouse-select-window on
# set-option -g mouse-resize-pane on
# # Constrain window size to max window size rather than session max size
# setw -g aggressive-resize on
# # }
# ## Appearance ## {
# # Enable status bar
# set -g status on
# set -g status-interval 2
# # Automatically set window title
# set-window-option -g automatic-rename on
# set-option -g set-titles on
# # Set pane divider color
# set -g pane-border-bg black
# set -g pane-border-fg white
# # Highlight active pane
# set -g pane-active-border-bg black
# set -g pane-active-border-fg green
# }
## Keybindings ## {
# Reload the config.
# bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
# # Tell tmux to use vi-style keybindings
# setw -g mode-keys vi
# # Unbind Ctrl-b (Vim uses it), use Ctrl-a
# unbind C-b
# set -g prefix C-a
# #bind-key C-a last-window
# # vim-style pane traversal
# bind h select-pane -L
# bind j select-pane -D
# bind k select-pane -U
# bind l select-pane -R
# }