mac环境准备
homebrew
https://gitee.com/cunkai/HomebrewCN#https://gitee.com/link?target=https%3A%2F%2Fzhuanlan.zhihu.com%2Fp%2F111014448 https://zhuanlan.zhihu.com/p/111014448
zsh + iterm2
https://baijiahao.baidu.com/s?id=1695767365094237852&wfr=spider&for=pc https://zhuanlan.zhihu.com/p/35283688
conda
conda config --set auto_activate_base false
vim设置
" Configuration file for vim set modelines=0 " CVE-2007-2438 " Normally we use vim-extensions. If you want true vi-compatibility " remove change the following statements set nocompatible " Use Vim defaults instead of 100% vi compatibility set backspace=2 " more powerful backspacing " Don't write backup file if vim is being called by "crontab -e" au BufWrite /private/tmp/crontab.* set nowritebackup nobackup " Don't write backup file if vim is being called by "chpass" au BufWrite /private/etc/pw.* set nowritebackup nobackup let skip_defaults_vim=1 " <============================= zch private define =============================> set encoding=utf-8 " 使用utf-8编码 syntax on " 开启高亮 set number " 显示行号 " set relativenumber " 显示相对行号 " set cursorline " 使用下划线标识所在行 set showmode " 底部显示当前处于命令模式还是插入模式 set ruler " 打开状态栏标尺 set showmatch " 高亮显示对应的括号 set showcmd " 底部显示当前键入的指令 set mouse=a " 支持使用鼠标 set t_Co=256 " 启用256色 set hlsearch " 搜索内容高亮