remove the need to separate tmux config files
This commit is contained in:
parent
54f1df3e90
commit
6585f00059
2 changed files with 5 additions and 7 deletions
|
@ -1,5 +0,0 @@
|
||||||
# Fix for clipboard in vim running inside tmux:
|
|
||||||
# See http://stackoverflow.com/a/40154047
|
|
||||||
# See https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
|
||||||
set -g default-command "reattach-to-user-namespace -l $SHELL"
|
|
||||||
|
|
|
@ -82,7 +82,10 @@ set-environment -gu SHLVL
|
||||||
set -g pane-active-border-fg colour1
|
set -g pane-active-border-fg colour1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Apply platform specific configurations:
|
# Fix for clipboard in vim running inside tmux:
|
||||||
# See http://www.economyofeffort.com/2013/07/29/reattach-to-user-namespace-the-fix-for-your-tmux-in-os-x-woes/
|
# See http://www.economyofeffort.com/2013/07/29/reattach-to-user-namespace-the-fix-for-your-tmux-in-os-x-woes/
|
||||||
if-shell 'test "$(uname)" = "Darwin"' 'source ~/.tmux-macos.conf'
|
# See http://stackoverflow.com/a/40154047
|
||||||
|
# See https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
||||||
|
if-shell 'test "$(uname)" = "Darwin"' \
|
||||||
|
'set -g default-command "reattach-to-user-namespace -l $SHELL"'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue