dotfiles
Install
- (Optional) Backup your existing
.tmux.conf
,.vimrc
and.zshrc
in your home directory - Change your shell to zsh
chsh -s /bin/zsh
. (Optional) Reload your terminal - Clone and
cd
to this repo. Run./install.sh
- Install homebrew
brew install tmux
- Set up vim-plug
- In
vim
- Run
:PlugInstall
- Run
:GoInstallBinaries
to install vim-go's binaries
- Run
Mac
The default vim installed does not have clipboard feature installed. If you have brew, brew install vim --without-perl --without-ruby
, copy with "*yy
Alternatively, here are some options,
- Select text with
shift-v
andEnter
then,:w !pbcopy
- Use vim's selection. For example,
:.w !pbcopy
or:,+1w !pbcopy
Git configurations
In .gitconfig
[core]
excludesfile = ~/.gitignore-global
[user]
email = <email>
name = <name>
[includeIf "gitdir:~/github/"]
path = .gitconfig-personal
In .gitignore-global
*.swp
In .gitconfig-personal
[user]
email = <email>
name = <name>