安装iterm2及配置

安装iterm2

5.1、安装oh-my-zsh

https://gitee.com/mirrors/oh-my-zsh

sh install.sh

5.2、安装powerline字体库

安装powerline字体库,解决乱码问题

https://github.com/powerline/fonts

img

img

5.3、设置主题 ~/.zshrc

# Set name of the theme to load — if set to “random”, it will

# load a random theme each time oh-my-zsh is loaded, in which case,

# to know which specific one was loaded, run: echo $RANDOM_THEME

# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

#ZSH_THEME=“robbyrussell”

ZSH_THEME=“agnoster”

5.4、语法高亮、自动补全

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git

img

git clone https://github.com/zsh-users/zsh-autosuggestions

img

~/.zshrc修改配置

plugins=(

git

zsh-syntax-highlighting

zsh-autosuggestions

)

5.5、分屏等快捷键操作

command + t:新建窗口

command + d:垂直分屏,

command + shift + d:水平分屏。

command + ] 和command + [ 在最近使用的分屏直接切换.

command + alt + 方向键:切换到指定位置的分屏。

command + 数字:切换标签页。

command + 方向键:按方向切换标签页。

shift + command + s:保存当前窗口快照。

command + alt + b:快照回放。很有意思的功能,你可以对你的操作根据时间轴进行回放。可以拖动下方的时间轴,也可以按左右方向键

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值