macos 自用配置
浏览器——google chrome
翻墙——v2rayU
终端——iterm2
笔记——typora
git tool——sourcetree
开发环境
最先安装完成 Xcode,然后
|
|
配置常用开发环境(其中 python3 version 3.8,需 brew install [email protected])
安装 homebrewcn
|
|
安装常用工具
python、node、yarn、ccls、fzf、ranger、typora、sourcetree、qt-creator、autojump、thefuck、visual-studio-code、neovim、microsoft-remote-desktop,只需要分别
|
|
安装过程中部分包会提示在.zshrc 中添加配置,自行添加
修改 pip 源
|
|
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn
升级 pip
|
|
安装 pygments、pynvim
|
|
修改 npm、yarn 源
|
|
iterm2 配置
先安装 ohmyzsh
|
|
下载 ohmyzsh plugin
|
|
.zshrc 修改
自用插件,plugin=(git)
括号里面添加
plugins=(git zsh-autosuggestions zsh-syntax-highlighting autojump web-search extract last-working-dir sudo pip thefuck colored-man-pages colorize safe-paste git-open vi-mode copyfile copydir gitfast command-not-found history)
alias 添加
alias vim="nvim"
alias vi="nvim"
alias rm="rm -i"
alias cp="cp -i"
alias cls="clear"
alias cat="ccat"
alias ra="ranger"
alias -s c=copyfile
alias -s cpp=copyfile
终端里zsh
即可加载配置
安装字体
|
|
补充一些缺失的符号
nvim+spacevim 配置
安装 spacevim
|
|
自用配置
|
|
终端里 nvim 即可下载插件
配色主题
Xcode、vscode、iterm2、zsh 自用配色主题为dracula