iTerm2 - macOS Terminal Replacement

常用快捷键

http://static.kancloud.cn/shellway/iterm2/259185

iTerm2 设置

iTerm2光标按照单词快速移动设置

  1. iterm2 禁用鼠标选择复制

    Untitled

  2. 关闭每日提示

    Preferences > Advanced > 搜索 Tip of the Day > Disable the Tip of the Day 改为 Yes

    Untitled

  3. 资源状态栏

    你可以在iterm2中使用快捷键command + ,或者菜单栏打开首选项,进行设置

    Untitled

    点击configure status bar将需要的托放在下面既可

  4. title 显示路径,Profiles→General→Basics 中的title勾选PWD

    Untitled

  5. 解决 vim 选中文字不能复制的问题

    vim打开文件,选中文字用command + c复制,不能复制

    iterm2 > Preferences > Profiles > Terminal > Enable mouse reporting 去掉勾选

    Untitled

iTerm2 配色

知乎借鉴:https://zhuanlan.zhihu.com/p/112383265

主题地址:

Iterm Themes - Color Schemes and Themes for Iterm2

GitHub 地址:https://github.com/mbadolato/iTerm2-Color-Schemes

安装oh-my-zsh