aboutsummaryrefslogtreecommitdiffstats
path: root/.tmux.conf
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
committerDavid Runge <david.runge@frqrec.com>2014-06-17 16:08:49 +0200
commit9660eb720076fbc199cd2d4561ba2bd6d865399f (patch)
treecade55f153b5107a6e5d6c8e08e52364f2f6d332 /.tmux.conf
parentc815af6f5c4f29291fc68967afe2458a1ec581b0 (diff)
parent3b44361df3ede6208faa6fc97d584d33889dedf5 (diff)
downloaddotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.gz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.bz2
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.tar.xz
dotfiles-9660eb720076fbc199cd2d4561ba2bd6d865399f.zip
Merge branch 'master' of https://github.com/davezerave/dot
Merging server side irssi settings and work-related ignores * 'master' of https://github.com/davezerave/dot: Adding bindings for vi-copy mode in tmux Adding more work related ignores Adding octave support Retabbing, customizing to my user Adding more bbb specific JACK settings Adding alias for checking for video devices in /dev Adding settings for my version of scvim, to be able to configure split-size and split orientation of the sclang output when using scvim in tmux and screen
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 6fefcb7..586539c 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -62,7 +62,6 @@ setw -g mode-mouse on
-
# Keep your finger on ctrl, or don't
bind-key ^D detach-client
@@ -73,6 +72,14 @@ set -g status-keys vi
# Use vi keybindings in copy and choice modes
setw -g mode-keys vi
+# v and y like vi in copy-mode
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+# clipboard settings
+set -s set-clipboard on
+bind-key C-p run "xclip -o | tmux load-buffer - ; tmux paste-buffer"
+bind-key C-y run "tmux save-buffer - | xclip -i"
+
# set first window to index 1 (not 0) to map more to the keyboard layout...
set -g base-index 1