summaryrefslogtreecommitdiffstats
path: root/ship
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-04-15 13:50:54 +0200
committermakefu <github@syntax-fehler.de>2014-04-15 13:50:54 +0200
commit5ddec8ce80976ce02f1302d80aa155bb2755b4f1 (patch)
tree29a74bfbdd20e52d05ef5b70577143fb3fd37187 /ship
parente0dd53b2a6d78151b863f711576b159d6137c2d0 (diff)
update bootstrap env with gundo
Diffstat (limited to 'ship')
-rwxr-xr-xship/src/bootstrap_env_makefu17
1 files changed, 16 insertions, 1 deletions
diff --git a/ship/src/bootstrap_env_makefu b/ship/src/bootstrap_env_makefu
index 6c75cd57..3088d059 100755
--- a/ship/src/bootstrap_env_makefu
+++ b/ship/src/bootstrap_env_makefu
@@ -92,6 +92,21 @@ Bundle 'snipMate'
Bundle 'tpope/vim-fugitive'
Bundle 'Valloric/YouCompleteMe'
Bundle 'scrooloose/syntastic'
+Bundle 'scrooloose/syntastic'
+Bundle 'sjl/gundo.vim'
+
+nnoremap <F5> :GundoToggle<CR>
+set undodir=~/.vim/undo
+set undofile
+"maximum number of changes that can be undone
+set undolevels=1000000
+"maximum number lines to save for undo on a buffer reload
+set undoreload=10000000
+
+set pastetoggle=<F2>
+set showmode
+filetype plugin indent on
+
filetype plugin indent on
@@ -122,7 +137,7 @@ vim_conf_sane_defaults
#install all the vim stuff with the help of vundle
cd $HOME/.vim
-mkdir -p bundle
+mkdir -p bundle undo backup
info "Fetching vim-vundle"
git clone https://github.com/gmarik/vundle.git bundle/vundle > /dev/null && \
info "Vim Vundle deployed"