From: Jannik ZANDER Date: Tue, 3 May 2016 11:26:16 +0000 (+0200) Subject: Add vundle as submodule X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=5a28fc2977962e6e0b11272d7ae1eafc01d4ce59;p=dotfiles.git Add vundle as submodule --- diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..5790a94 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".vim/bundle/Vundle.vim"] + path = .vim/bundle/Vundle.vim + url = http://github.com/VundleVim/Vundle.Vim diff --git a/.vim/bundle/Vundle.vim b/.vim/bundle/Vundle.vim new file mode 160000 index 0000000..4984767 --- /dev/null +++ b/.vim/bundle/Vundle.vim @@ -0,0 +1 @@ +Subproject commit 4984767509e3d05ca051e253c8a8b37de784be45 diff --git a/.vimrc b/.vimrc index 52239eb..7de0b3b 100644 --- a/.vimrc +++ b/.vimrc @@ -1,4 +1,10 @@ -" set the runtime path to include Vundle and initialize +set nocompatible + +"------------------------------------------------------------------------------ +" For Vundle +"------------------------------------------------------------------------------ +" +filetype off set rtp+=$HOME/.vim/bundle/Vundle.vim call vundle#begin('$HOME/.vim/bundle/') @@ -6,22 +12,52 @@ Plugin 'VundleVim/Vundle.vim' Plugin 'thanthese/Tortoise-Typing' Plugin 'altercation/vim-colors-solarized.git' Plugin 'plasticboy/vim-markdown' +Plugin 'mileszs/ack.vim' +Plugin 'brandonbloom/csearch.vim' call vundle#end() " required filetype plugin indent on " required - syntax enable " syntaxs highlightning + +"------------------------------------------------------------------------------ +" Regular setting +"------------------------------------------------------------------------------ +" set backspace=2 " backspace in insert mode works like normal editor set autoindent " auto indenting set number " line numbers set nobackup " get rid of anoying ~file +set encoding=utf-8 +set expandtab +set fileencodings=ucs-bom,utf-8,euc-jp +set hid +set hlsearch +set incsearch +set laststatus=2 +set number +set mouse=a +set ruler +set shiftwidth=4 +set showcmd +set smartindent +set showmatch +set tabstop=4 +set visualbell t_vb= +set modeline +set modelines=1 +" For color "let g:solarized_termcolors=256 colorscheme solarized set background=dark +" Vim tips #59 +set tags+=tags; + +" For markdown let g:vim_markdown_folding_disabled = 1 +" For local settings overwrite let $LOCALFILE=expand("~/.vimrc_local") if filereadable($LOCALFILE) source $LOCALFILE