-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtmux.conf
54 lines (41 loc) · 1.03 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
#Prefix is Ctrl-a
#
#set-option -g default-command "reattach-to-user-namespace -l zsh"
#set -sg escape-time 1
#set -g base-index 1
#setw -g pane-base-index 1
##Mouse works as expected
setw -g mouse on
setw -g monitor-activity on
set -g visual-activity on
set -g mode-keys vi
set -g history-limit 10000
## y and p as in vim
## Tmux settings
## Set XTerm key bindings
#setw -g xterm-keys on
## Set colors
#set-option -g default-terminal "screen-256color"
## Set reload key to r
#bind r source-file ~/.tmux.conf
## Count sessions start at 1
#set -g base-index 1
## Use vim bindings
#setw -g mode-keys vi
# Remap window navigation to vim
unbind-key j
bind-key j select-pane -D
unbind-key k
bind-key k select-pane -U
unbind-key h
bind-key h select-pane -L
unbind-key l
bind-key l select-pane -R
## Set the title bar
set -g set-titles on
set -g set-titles-string '#(whoami) :: #h :: #(curl ipecho.net/plain;echo)'
#set-option -g default-shell /usr/local/bin/zsh
#
#
run-shell ~/dotfiles/tmux-sensible/sensible.tmux
set-option -g default-shell $SHELL