From 7406c872fa3498707e103c5545f622c17bdc6001 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Mon, 13 May 2013 18:51:06 +0100 Subject: [PATCH 1/2] Some changes.. --- .vimrc | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 593f3a8..4df99e4 100644 --- a/.vimrc +++ b/.vimrc @@ -42,5 +42,27 @@ filetype plugin indent on " required! " NOTE: comments after Bundle command are not allowed.. " *** End Vundle *** set t_Co=256 -colorscheme badwolf + filetype on + +set expandtab +set smarttab +set softtabstop=2 + + +set foldcolumn=4 +set foldenable +set foldlevel=2 +set foldmethod=syntax " Markers are used to specify folds. +set foldminlines=0 " Allow folding single lines +set foldnestmax=3 " Set max fold nesting level +set formatoptions= +set formatoptions+=c " Format comments +set formatoptions+=r " Continue comments by default +set formatoptions+=o " Make comment when using o or O from comment line +set formatoptions+=q " Format comments with gq +set formatoptions+=n " Recognize numbered lists +set formatoptions+=2 " Use indent from 2nd line of a paragraph +set formatoptions+=l " Don't break lines that are already long +set formatoptions+=1 " Break before 1-letter words + From 7b4e71b00e50dafb77914183592cf57fdd282815 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Mon, 13 May 2013 18:52:35 +0100 Subject: [PATCH 2/2] Altered tab width --- .vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index c4e5057..fa63bcc 100644 --- a/.vimrc +++ b/.vimrc @@ -65,7 +65,8 @@ filetype on set expandtab set smarttab -set softtabstop=2 +set tabstop=4 +set shiftwidth=4 set foldcolumn=4