homebrew
homebrew 安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
安装插件
- 安装 git
brew install git- 安装 autojump
brew install autojump在 ~/.zshrc 中找到
plugins添加autojump, 注意 ⚠️ 每个插件间用空格隔开
iTerm2
安装插件
- 安装 oh-my-zsh 主题
sh -c "\$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions在 ~/.zshrc 中找到
plugins添加zsh-autosuggestions, 注意 ⚠️ 每个插件间用空格隔开git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting在 ~/.zshrc 中找到
plugins添加zsh-syntax-highlighting, 注意 ⚠️ 每个插件间用空格隔开最终结果
plugins=( git zsh-syntax-highlighting zsh-autosuggestions autojump )
vim 配置
可以参考 阮一峰老师的 Vim 配置入门
在 ~/.vimrc 配置 (如果没有请自建touch ~/.vimrc)
我的基本设置
set number
syntax on
set mouse=a
set encoding=utf-8
set autoindent
set tabstop=2
set cursorline
set ruler
set showmatch
set incsearch
set hlsearch