diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index f8714cf..7de119f 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -18,6 +18,8 @@ gdc = diff --cached # show changed files for a commit cf = show --pretty="format:" --name-only + # undo a commit + undo = reset --soft # stash shortcuts sp = stash pop @@ -82,3 +84,5 @@ [core] excludesfile = ~/.gitignore_global pager = less -FXRS -x2 +[rerere] + enabled = true diff --git a/vim/vimrc.symlink b/vim/vimrc.symlink index 295620f..8a1e564 100644 --- a/vim/vimrc.symlink +++ b/vim/vimrc.symlink @@ -68,7 +68,7 @@ set softtabstop=4 set ttyfast " allow matching of if/end, etc. with % -runtime macros/matchit.vim +" runtime macros/matchit.vim " highlight conflicts match ErrorMsg '^\(<\|=\|>\)\{7\}\([^=].\+\)\?$' @@ -191,7 +191,7 @@ set laststatus=2 " show the satus line all the time " Additional, plugin-specific mappings are located under " the plugins section " -nnoremap K :q +" nnoremap K :q " remap esc and disable to force learning inoremap jk