diff --git a/.gitmodules b/.gitmodules index 8c1128b..95c1dbf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -40,3 +40,6 @@ [submodule ".vim/bundle/ack.vim"] path = .vim/bundle/ack.vim url = https://github.com/mileszs/ack.vim.git +[submodule ".vim/bundle/gundo.vim"] + path = .vim/bundle/gundo.vim + url = https://github.com/sjl/gundo.vim.git diff --git a/.vim/bundle/gundo.vim b/.vim/bundle/gundo.vim new file mode 160000 index 0000000..e7fe410 --- /dev/null +++ b/.vim/bundle/gundo.vim @@ -0,0 +1 @@ +Subproject commit e7fe41024ace9047eee610f23311d44fd9d917c0 diff --git a/.vimrc b/.vimrc index 2a9117c..c4f93e7 100644 --- a/.vimrc +++ b/.vimrc @@ -322,7 +322,7 @@ let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -"⋅=>⋅nerdtree settings +"⋅=> nerdtree settings """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Open a NERDTree automatically when no files were specified " autocmd StdinReadPre * let s:std_in=1 @@ -337,6 +337,16 @@ let NERDTreeShowHidden=1 " map ctrl+n to toogle nerdtree map :NERDTreeToggle +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +"⋅=> Gundo settings +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + +" Toogle Gundo +nnoremap :GundoToggle +let g:gundo_width = 60 +let g:gundo_preview_height = 40 +let g:gundo_right = 1 + """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Misc """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" diff --git a/README.md b/README.md index edf519e..cb22864 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This repo is a store my personal Debian and macOS dotfiles. I use zsh as default * All vim, tmux, ... plugins are included as git-submodule. So you have the lastest version everytime you update via *udot* command. * [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh.git) with fantastic [Cobalt2](https://github.com/wesbos/Cobalt2-iterm.git) theme. * Some helpfull [aliases](aliases) and [functions](functions) for [docker](https://www.docker.com/) and more. -* A useful [vim](http://www.vim.org/) configuration with [pathogen](https://github.com/tpope/vim-pathogen) plugin manager and some plugins: [syntastic](https://github.com/scrooloose/syntastic.git), [vim-airline](https://github.com/vim-airline/vim-airline.git), [vim-fugitive](https://github.com/tpope/vim-fugitive.git), [vim-tmux](https://github.com/tmux-plugins/vim-tmux) +* A useful [vim](http://www.vim.org/) configuration with [pathogen](https://github.com/tpope/vim-pathogen) plugin manager and some plugins: [syntastic](https://github.com/scrooloose/syntastic.git), [vim-airline](https://github.com/vim-airline/vim-airline.git), [vim-fugitive](https://github.com/tpope/vim-fugitive.git), [vim-tmux](https://github.com/tmux-plugins/vim-tmux), [vim-ack]( https://github.com/mileszs/ack.vim), [Gundo](http://sjl.bitbucket.org/gundo.vim/) * My favorite [tmux](https://tmux.github.io/) configuration and some tmux plugins: [tmux-prefix-highlight](https://github.com/tmux-plugins/tmux-prefix-highlight.git), [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat), [tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect), [tmux-urlview](https://github.com/tmux-plugins/tmux-urlview) * and many more ;) * For local system-specific changes (proxy settings, etc.), you can create *~.commonrc.local*