Skip to content

Instantly share code, notes, and snippets.

@wkei
Last active September 19, 2017 03:20
Show Gist options
  • Save wkei/00a75b43603f42aa78a7d0a7b13e8806 to your computer and use it in GitHub Desktop.
Save wkei/00a75b43603f42aa78a7d0a7b13e8806 to your computer and use it in GitHub Desktop.
Things to do after installing macOS

Things to do after installing macOS

System Preferences:

  • Tap to click
  • Disable smart quotes
  • Use three finger to drag&drop

Download softwares:

  • Rime
  • Sublime Text 3
  • Chrome
  • Firefox
  • Steam
  • WeChat
  • Dropbox
  • Sketch
  • MegaAsync
  • Xcode
  • Kindle

Sublime setup:

  • https://packagecontrol.io/
  • Material Theme
  • MarkdownEditing
  • Babel
  • Vue Syntax Hightlight
  • Git Blame
  • Git Conflict Resolver
  • Git Gutter
  • HTML-CSS-JS Prettify
  • Babel
  • ChineseOpenConvert
  • EditorConfig
[
    {
        "keys": ["j", "k"],
        "command": "exit_insert_mode",
        "context":
        [
            { "key": "setting.command_mode", "operand": false },
            { "key": "setting.is_widget", "operand": false }
        ]
    }
]

 

iTerm Setup:

git clone https://github.com/chriskempson/base16-iterm2.git

zsh

brew install zsh zsh-completions
npm install --global pure-prompt
chsh -s $(which zsh)

zshrc

# .zshrc
autoload -U promptinit; promptinit
prompt pure

alias ..="cd .."
alias ...="cd ../.."
alias ls="ls -Ga"
alias l="ls -Ga"
alias zshrc="vim ~/.zshrc"
alias sozshrc="source ~/.zshrc"
alias vimrc="vim ~/.vimrc"

Development Env / Tools:

Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
brew install tree

node.js

curl -L https://git.io/n-install | N_PREFIX=$HOME/.n bash -s -- -y
brew install yarn --without-node

https://gist.github.com/keiww/2e1d4def5846a993c9dca7ef230e60e0

Github

ssh-keygen -t rsa -b 4096 -C "[email protected]"
brew install tig

Vim

brew install vim --override-system-vi

https://gist.github.com/keiww/32b299e22387ef89263167d650ff78ca

mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

git clone https://github.com/chriskempson/base16-vim.git ~/.vim/bundle/base16-vim
git clone https://github.com/pangloss/vim-javascript.git ~/.vim/bundle/vim-javascript
git clone https://github.com/vim-airline/vim-airline.git ~/.vim/bundle/vim-airline
git clone https://github.com/vim-airline/vim-airline-themes.git ~/.vim/bundle/vim-airline-themes
cd ~/.vim/bundle
git clone https://github.com/scrooloose/nerdcommenter.git

Ruby

brew install rbenv

iOS

gem install cocoapods

Python

brew install pyenv
pyenv install 3.6.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment