最近换 Mac 写代码,发现最近写的代码,每次重启后就消失,目前的写代码模式是 vim + git
.
This is my .vimrc.
https://github.com/arcticlion/dotfile/blob/master/.vimrc
My git configure.
➜ ~ git config --list
color.ui=true
alias.lg=log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
alias.unstage=reset HEAD
alias.last=log -1
color.diff.meta=blue black bold
user.name=arcticlion
[email protected]
core.excludesfile=/Users/MasterMac/.gitignore_global
difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE"
difftool.sourcetree.path=
mergetool.sourcetree.cmd=/opt/homebrew-cask/Caskroom/sourcetree/1.9.4.1/SourceTree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED"
mergetool.sourcetree.trustexitcode=true
push.default=simple
1
KDr2 2014-08-29 09:40:17 +08:00
不是在 /tmp 下保存的吧 :D
|