1. Mac Setting

2. Shell

2.1 Zsh

  • configuration (.zshrc)
  • setting:
    • move the cursor by words:
    1. Go to iTerm2 (in the menu bar) > Settings... > Profiles > Keys (not Preferences... > Keys)
    2. On current versions (3.14+) you then switch to the Key Mappings tab
    3. Press Presets... dropdown button.
    4. Select Natural Text Editing
    
  • plugins:
    • autojump: brew install autojump
    • zsh-autosuggestions: git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    • zsh-syntax-highlighting: git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    • fzf
      • brew install fzf
      • $(brew --prefix)/opt/fzf/install

3. vim

3.1 coc.nvim

I would say coc.nvim is VS Code in neo vim, as well as the function is also expanded by plugins. Here’s the basic plugins we used in daily development.

tmux

4. Tool

  • fd is a simple, fast and user-friendly alternative to find: brew install fd
  • Personal Script: git clone https://github.com/jinying-che/Geript, add into system path in .zshrc
  • Hugo is one of the most popular open-source static site generators.: brew install hugo
  • GitHub Readme Instant Preview: brew install grip
  • tlrd: collection of community-maintained help pages for command-line tools, that aims to be a simpler, more approachable complement to traditional man pages.

5. Development

5.1 golang

5.2 python

  • Install python: brew install python3
  • Install ipython: pip install "ipython[all]"