Commit e5431708 authored by Ariejan de Vroom's avatar Ariejan de Vroom

proper copy/paste on macos sierra

parent 0ee24f9b
set -g default-terminal "screen-256color"
set -g default-shell $SHELL
set -g default-command "reattach-to-user-namespace -l ${SHELL}"
# Remap prefix to ctrl-a (or caps-a for my mac)
set -g prefix C-a
......@@ -67,7 +70,8 @@ unbind -t vi-copy Enter
bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"
# Bind ']' to use pbbaste
bind ] run "pbpaste | tmux load-buffer - && tmux paste-buffer"
bind ] run "reattach-to-user-namespace pbpaste | tmux load-buffer - && tmux paste-buffer"
# # fiddle with colors of status bar
# set -g status-bg colour4
......@@ -305,3 +305,6 @@ function! s:align()
call search(repeat('[^|]*|',column).'\s\{-\}'.repeat('.',position),'ce',line('.'))
" Clipboard
set clipboard=unnamed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment