Fix issue with yank/paste in vim when inside tmux on os x
There might be an issue when using yank/paste in tmux on other platforms. By might, I mean probably.
This commit is contained in:
parent
6ed2808e64
commit
c05bce46f5
5
vimrc
5
vimrc
@ -14,11 +14,14 @@ colorscheme wombat
|
|||||||
set fileformats=unix,dos,mac " support all three, in this order
|
set fileformats=unix,dos,mac " support all three, in this order
|
||||||
set nostartofline " leave my cursor where it was
|
set nostartofline " leave my cursor where it was
|
||||||
set history=1000
|
set history=1000
|
||||||
set clipboard+=unnamed " turns out I do like is sharing windows clipboard
|
|
||||||
set autoread " Set to auto read when a file is changed from the outside
|
set autoread " Set to auto read when a file is changed from the outside
|
||||||
set autochdir " Change current directory to be directory of current file
|
set autochdir " Change current directory to be directory of current file
|
||||||
set colorcolumn=80
|
set colorcolumn=80
|
||||||
|
|
||||||
|
if $TMUX == ''
|
||||||
|
set clipboard+=unnamed
|
||||||
|
endif
|
||||||
|
|
||||||
set backspace=start,eol,indent
|
set backspace=start,eol,indent
|
||||||
set whichwrap+=<,>,[,]
|
set whichwrap+=<,>,[,]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user