aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/gundo.vim1
-rw-r--r--inc/rebinds.vim1
-rw-r--r--init.vim1
-rwxr-xr-xsetup.sh3
4 files changed, 6 insertions, 0 deletions
diff --git a/inc/gundo.vim b/inc/gundo.vim
new file mode 100644
index 0000000..bdcb82a
--- /dev/null
+++ b/inc/gundo.vim
@@ -0,0 +1 @@
+let g:gundo_prefer_python3 = 1
diff --git a/inc/rebinds.vim b/inc/rebinds.vim
index fb14324..cacef62 100644
--- a/inc/rebinds.vim
+++ b/inc/rebinds.vim
@@ -11,3 +11,4 @@ map <C-n> :NERDTreeToggle<CR>
nmap <leader> [ :AcpDisable<CR>
nmap <leader> ] :AcpEnable<CR>
+nnoremap <F5> :GundoToggle<CR>
diff --git a/init.vim b/init.vim
index 5b08695..8124b58 100644
--- a/init.vim
+++ b/init.vim
@@ -6,6 +6,7 @@ source ~/.vim/inc/undo.vim
source ~/.vim/inc/filetype-options.vim
source ~/.vim/inc/airline.vim
source ~/.vim/inc/ctrlp.vim
+source ~/.vim/inc/gundo.vim
" Omni completion
filetype plugin on
diff --git a/setup.sh b/setup.sh
index 016dc84..cbdb930 100755
--- a/setup.sh
+++ b/setup.sh
@@ -59,3 +59,6 @@ clone
DIR="bundle/nerdtree"
URL="https://github.com/scrooloose/nerdtree"
clone
+DIR="bundle/gundo"
+URL="https://github.com/sjl/gundo.vim"
+clone