From 67a506b91c3cb7281a39dc0cf63b0660e18338c6 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Fri, 3 Jan 2014 16:10:45 +0100 Subject: vim: let's use vundle. --- vimrc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 5603bbc..d68633a 100644 --- a/vimrc +++ b/vimrc @@ -93,13 +93,21 @@ set expandtab set backspace=indent,eol,start "" -" Filetypes +" Plugins. filetype off filetype indent plugin off + +" Using the Go plugins from the official repo. set runtimepath+=$GOROOT/misc/vim -filetype on -filetype indent plugin on + +" All the plugins are listed in my bundles file, that will be installed +" inside the ~/.vim directory. +source ~/.vim/bundles.vim + +"" +" Filetypes + autocmd FileType ruby set shiftwidth=2 autocmd FileType c set shiftwidth=4 tabstop=4 autocmd FileType yacc set shiftwidth=4 tabstop=4 @@ -110,7 +118,7 @@ autocmd FileType go set shiftwidth=4 tabstop=4 let mapleader = "," -" in insert/normal mode: switch to normal mode and write to disk. +" in normal/insert mode: switch to normal mode and write to disk. inoremap :w nnoremap :w -- cgit v1.2.3