]> git.rmz.io Git - dotfiles.git/blobdiff - vim/vimrc
vim: autoformat mails
[dotfiles.git] / vim / vimrc
index 0ef46303667469ae2192731c0b13d1c4b758a38d..cf299bf9ee4c5e4d1576bd96ccc6321b160606f9 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -6,6 +6,7 @@
 " bundles {{{1
 filetype off
 set runtimepath& " reset rtp
+autocmd!
 
 set runtimepath+=$XDG_DATA_HOME/vim/vundle
 call vundle#rc('$XDG_DATA_HOME/vim')
@@ -22,11 +23,12 @@ Bundle 'scrooloose/nerdtree'
 Bundle 'scrooloose/syntastic'
 Bundle 'sjl/gundo.vim'
 Bundle 'tomtom/tcomment_vim'
+Bundle 'tpope/vim-endwise'
 Bundle 'tpope/vim-fugitive'
+Bundle 'tpope/vim-repeat'
 Bundle 'tpope/vim-surround'
 Bundle 'tpope/vim-unimpaired'
 Bundle 'valloric/youcompleteme'
-"Bundle 'zhaocai/goldenview.vim'
 
 Bundle 'ompugao/ros.vim'
 Bundle 'ompugao/ctrlp-ros'
@@ -37,7 +39,6 @@ Bundle 'derekwyatt/vim-fswitch'
 "Bundle 'jalcine/cmake.vim' 
 Bundle 'powerman/vim-plugin-viewdoc'
 
-" rtp + xdg {{{1
 " remove entries first
 set runtimepath -=$HOME/.vim
 set runtimepath -=$HOME/.vim/after
@@ -57,7 +58,7 @@ map <space> <leader>
 set incsearch           " show match for partly typed search command
 set ignorecase          " ignore case when using a search pattern
 set smartcase           " override 'ignorecase' when pattern has upper case characters
-set hlsearch                    " highlight all matches for the last used search pattern
+set hlsearch            " highlight all matches for the last used search pattern
 
 " use leader-n to unhighlight search
 nmap <silent> <Leader>n :silent nohl<CR>
@@ -272,7 +273,7 @@ set directory=$XDG_CACHE_HOME/vim,.,/var/tmp
 
 " command line editing {{{1
 set history=500                 " how many command lines are remembered
-set wildmode=longest:full       " specifies how command line completion works
+set wildmode=longest:full,full  " specifies how command line completion works
 set wildmenu                    " command-line completion shows a list of matches
 
 " various {{{1