Download and install iTerm2
- Remember to select unlimited scroll on preferences
- Remember to Allow clipboard access to terminal apps
Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
And add this for key binding:
bindkey "[D" backward-word
bindkey "[C" forward-word
Install:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${zsh_custom:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Install Homebrew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install node yarn
$ brew install gpg # Signing commits
$ brew install jenv # Java Management
$ brew install pyenv # python management
$ brew install jq
$ brew install wget
$ brew install ctags
# java versions
$ brew cask install homebrew/cask-versions/zulu8
$ brew cask install homebrew/cask-versions/zulu11
Install NeoVim:
$ brew install neovim
And run:
$ python -m pip install --user --upgrade pynvim
Install VimPlug
$ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
May need to install (xcode-select --install
)
$ pip3 install neovim --user
$ mkdir -p ~/.config/nvim
$ cp init.vim ~/.config/nvim
Open nvim and type :PluginInstall
$ brew install fzf
$ brew install fd
:CoCInstall coc-python
$ pip install --user jedi
pip install -U python-dotenv
Create an .env
file to the dir you're working on
and add PYTHONPATH=./scr/to/python/files
.
$ git clone https://github.com/powerline/fonts.git
$ cd fonts
$ ./install.sh
https://github.com/mbadolato/iTerm2-Color-Schemes
Select the color in Profiles > Colors > Color Presets... > Import...
And navigate to iTerm2-Color-Schemes > schemes and selects the ones that you want.
Follow this link
I also use option d mapped to sequence escape d
export EDITOR=nvim
alias n='nvim'
alias nf='nvim $(fzf)'
$ mkdir ~/Pictures/screenshots
$ defaults write com.apple.screencapture location ~/Pictures/screenshots