Skip to content

yasunori/dotfiles

Repository files navigation

###########
# vim
###########
# リンク張ったあと
mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
git clone https://github.com/Shougo/vimproc ~/.vim/bundle/vimproc

##########
# tmux
##########
mac:
パスの通るところに以下をtmuxxとして

以下をtmuxxとして
---
#!/bin/bash
 
 # attach to an existing tmux session, or create one if none exist
 # also set up access to the system clipboard from within tmux when possible
  
if [[ ( $OSTYPE == darwin* ) && ( -x $(which reattach-to-user-namespace 2>/dev/null) ) ]]; then
    # on OS X force tmux's default command to spawn a shell in the user's namespace
    # https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
    tweaked_config=$(cat $HOME/.tmux.conf <(echo 'set-option -g default-command "reattach-to-user-namespace -l $SHELL"'))
             
    tmux attach || tmux -f <(echo "$tweaked_config") new-session
else
    tmux attach || tmux new-session
fi
----

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published