IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    mac zsh+iterm2+vim配置

    sky发表于 2016-08-06 17:14:43
    love 0

    首先安装oh-my-zsh

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    

    然后下载字体库

    https://github.com/powerline/fonts
    

    运行

    install.sh
    

    然后下载iterm2的配色方案

    https://github.com/altercation/solarized
    

    然后在iterm2设置中导入配置方案

    Solarized Dark.itermcolors
    

    然后设置agnoster主题
    进入~/.zshrc打开.zshrc文件,然后将ZSH_THEME后面的字段改为agnoster。ZSH_THEME="agnoster"(agnoster即为要设置的主题)

    然后简单配置vim编辑器
    创建文件

    .vimrc
    

    然后在里面写入
    set nu
    color scheme desert
    syntax on



沪ICP备19023445号-2号
友情链接