-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.tmux.conf
31 lines (27 loc) · 1.02 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
# Muuta ikkunan nimi ohjelman nimeksi automaattisesti
set-option -g prefix C-a
set -g history-limit 20000
setw -g automatic-rename off
setw -g allow-rename off
setw -g mode-keys vi
# Ota käyttöön useampien värien tuki, jos pääteemulaattori tukee niitä
set -g default-terminal "screen-256color"
# move x clipboard into tmux paste buffer
#bind C-p run "tmux set-buffer \"$(xclip -o)\"; tmux paste-buffer"
bind C-p run "xclip -o | tmux load-buffer - ; tmux paste-buffer"
# # move tmux copy buffer into x clipboard
#bind C-y run "tmux show-buffer | xclip -i -selection clipboard"
bind C-y run -b "tmux show-buffer | xclip -sel clip -i" \; display-message "Copied tmux buffer to system clipboard"
bind k kill-session
bind-key r source-file ~/.tmux.conf
bind - split-window -v
bind u last-pane\; resize-pane -Z
bind z resize-pane -Z
bind b send-keys -R\; clear \; send-keys "Enter"
unbind [
bind Escape copy-mode
#unbind p
#bind pp paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
bind y swap-pane -U