-
Install oh-my-zsh
-
Install powerlevel9k
-
Install awesome-terminal-fonts
-
Install tpm
-
Git Clone in your home dir
git clone git@github.com:kinyat/dotfiles.git
-
Simply symlink the dotfile you want
ln -s ~/dotfiles/.vimrc ln -s ~/dotfiles/.tmux.conf ln -s ~/dotfiles/.zshrc ln -s ~/dotfiles/.ackrc
-
Make your terminal to run the following script when opening
# Mac iTerm2 tmux ls && read tmux_session && tmux -2 attach -t ${tmux_session:-default} || tmux -2 new -s ${tmux_session:-default} # Ubuntu Terminal sh -c "tmux ls && read tmux_session && tmux -2 attach -t ${tmux_session:-default} || tmux -2 new -s ${tmux_session:-default}"
-
To make clipboard works in Ubuntu
sudo apt install -y vim-gtk xclip
-
Custom setting for Mac in Tmux
# edit .tmux.conf and uncomment the following set -g default-command "reattach-to-user-namespace -l ${SHELL}"
-
Insatll YouCompleteMe
-
Install Tmux TPM plugins (see: https://github.com/tmux-plugins/tpm#key-bindings)
In Tmux:
prefix
+ I