From 191d70d754cb4240f2972cc813a0e3fcfa83f14a Mon Sep 17 00:00:00 2001 From: kn1cht Date: Wed, 15 Feb 2017 20:24:01 +0900 Subject: [PATCH] undotree/rot13/~/bin --- .vimrc | 17 ++++++++++++++++- .zshrc | 5 +++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index cb2fd2c..16b170d 100644 --- a/.vimrc +++ b/.vimrc @@ -131,6 +131,7 @@ NeoBundleFetch 'Shougo/neobundle.vim' NeoBundle 'Shougo/neocomplete.vim' NeoBundle 'scrooloose/nerdtree' NeoBundle 'Townk/vim-autoclose' +NeoBundle 'mbbill/undotree' NeoBundle 'mattn/emmet-vim' NeoBundle 'davidhalter/jedi-vim' @@ -196,4 +197,18 @@ call NERDTreeHighlightFile('styl', 'cyan', 'none', 'cyan', '#151515') call NERDTreeHighlightFile('css', 'cyan', 'none', 'cyan', '#151515') call NERDTreeHighlightFile('rb', 'Red', 'none', 'red', '#151515') call NERDTreeHighlightFile('js', 'Red', 'none', '#ffa500', '#151515') - +"""""""""""""""""""""""""""""" +" undotree Settings +" [?]でヘルプ。[¥],[u]でundo履歴 +" http://vimblog.com/blog/2012/09/02/undotree-dot-vim-display-your-undo-history-in-a-graph/ +" https://github.com/r1chelt/dotfiles/blob/master/.vimrc +"""""""""""""""""""""""""""""" +nmap u :UndotreeToggle +let g:undotree_SetFocusWhenToggle = 1 +let g:undotree_SplitWidth = 35 +let g:undotree_diffAutoOpen = 1 +let g:undotree_diffpanelHeight = 25 +let g:undotree_RelativeTimestamp = 1 +let g:undotree_TreeNodeShape = '*' +let g:undotree_HighlightChangedText = 1 +let g:undotree_HighlightSyntax = "UnderLined" diff --git a/.zshrc b/.zshrc index 8d40589..9fa2485 100644 --- a/.zshrc +++ b/.zshrc @@ -2,7 +2,7 @@ HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=1000 -bindkey -v +bindkey -e # End of lines configured by zsh-newuser-install # プロンプト @@ -32,11 +32,12 @@ alias vi="vim" alias ls='ls -Ga' alias mkdir='mkdir -p' alias sudo='sudo ' +alias rot13='tr A-Za-z N-ZA-Mn-za-m' # C で標準出力をクリップボードにコピーする # mollifier delta blog : http://mollifier.hatenablog.com/entry/20100317/p1 alias -g C='| pbcopy' -export PATH=/opt/local/bin:/opt/local/sbin:$PATH +export PATH=/opt/local/bin:/opt/local/sbin:~/bin:$PATH export PATH="$HOME/.rbenv/bin:$PATH" export PATH="$PATH:"/Applications/microchip/xc8/v1.35/bin"" export PATH=$PATH:/usr/local/share/git-core/contrib/diff-highlight