mac工具配置手册

iterm2

快捷键

分屏

快捷键“cmd+d”左右分屏,快捷键“^+cmd+d”上下分屏

cmd+[ / ] 左右切换分屏 cmd+opt(alt)+上下左右切换分屏

粘贴板

调出复制过的文本历史 快捷键:“^+cmd+h”

回放

按键回放 cmd+alt+b

homebrew

Git

oh my zsh

赋予终端全新生命的工具

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

主题选择

spaceship theme

git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"

字体

meslo font

https://github.com/powerline/fonts/blob/master/Meslo%20Slashed/Meslo%20LG%20M%20Regular%20for%20Powerline.ttf

插件

autojump 快速跳转目录

brew install autojump

fasd 快速访问文件或目录,功能比autojump更强大,但没有j方便。

brew install fasd

fzf 模糊搜索

brew install fzf

语法高亮

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

历史命令提示

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

zsh个性化配置

修改配置文件:

vim ~/.zshrc

添加配置

ZSH_THEME="spaceship"
plugins=(robbyrussell git zsh-syntax-highlighting autojump zsh-autosuggestions)
 [[ -s $(brew --prefix)/etc/profile.d/autojump.sh ]] && . $(brew --prefix)/etc/profile.d/autojump.sh
export GEM_HOME=$HOME/gems
export PATH=$HOME/gems/bin:$PATH
alias py3="source /Users/fank/code/py3.7/bin/activate"
source /Users/fank/code/py3.7/bin/activate
export PROMPT_COMMAND='echo -ne "\033]0;$PWD\007"'

快捷键启动iterm2方案

1. 编写mac启动脚本
2. alt+space 搜索iterm

Dash

文档查询工具

数据库图形工具

Sequel pro

TablePlus

App抓包工具

Charles

远程工具

NoMechine