FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
dotfiles/tmux.conf at master · azeey/dotfiles · GitHub
azeey
/
dotfiles
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
dotfiles
/
tmux.conf
Copy path
More file actions
More file actions
Latest commit
History
History
History
65 lines (49 loc) · 1.78 KB
Breadcrumbs
dotfiles
/
tmux.conf
Copy path
File metadata and controls
65 lines (49 loc) · 1.78 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#
Change prefix key to Ctrl+s
#
unbind C-b
set
-g prefix C-s
#
set -as terminal-overrides ',xterm*:Tc:sitm=\E[3m'
#
set -s default-terminal "screen-256color"
set
-g default-terminal
"
tmux-256color
"
set
-ga terminal-overrides
"
,*256col*:Tc
"
#
tmux-airline
#
This is generated by a vim plugin so it may not exist initially
if-shell
"
test -f ~/dotfiles/tmux-lightline.conf
"
"
source ~/dotfiles/tmux-lightline.conf
"
#
Copy mode
unbind [
bind
Escape copy-mode
#
Use Vi mode
setw
-g
mode-keys vi
#
set -g status-keys vi
#
Mouse settings
set
-g
mouse on
#
More straight forward key bindings for splitting
bind
v split-window -v
-c
"
#{pane_current_path}
"
bind
c new-window
-c
"
#{pane_current_path}
"
#
Misc bindings
bind-key r source-file
~
/.tmux.conf
\;
display-message
"
✱ ~/.tmux.conf is reloaded
"
#
Copy Paste
#
move x clipboard into tmux paste buffer
#
bind C-p run "xclip -o | tmux load-buffer - ; tmux paste-buffer"
#
Don't rename window titles
set-option
-g
allow-rename off
set-window-option
-g
automatic-rename off
#
Helps with faster command sequences
set
-s
escape-time 0
#
List of plugins
set
-g
@plugin
'
tmux-plugins/tpm
'
set
-g
@plugin
'
tmux-plugins/tmux-sensible
'
set
-g
@plugin
'
tmux-plugins/tmux-resurrect
'
set
-g
@plugin
'
tmux-plugins/tmux-yank
'
set
-g
@plugin
'
tmux-plugins/tmux-open
'
set
-g
@plugin
'
tmux-plugins/tmux-pain-control
'
set
-g
@plugin
'
tmux-plugins/tmux-sessionist
'
set
-g
@copycat_search_C-e
'
.*(\[Err\])|(error).*
'
set
-g
@copycat_search_C-w
'
.*(\[Wrn\])|(warn).*
'
set
-g
@resurrect-save
'
T
'
set
-g
@resurrect-restore
'
R
'
#
Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
#
To install, do prefix+I
run
'
~/.tmux/plugins/tpm/tpm
'
#
Keep this after initializing plugins because tmux-pain-control conflicts with this
bind
C-l last-window
bind
C-u clear-history
Back
|
FazBrowse Home
|
New Git URL