vimrc: update
authorStefan Huber <shuber2@gmx.at>
Thu, 29 Nov 2012 12:47:19 +0000 (13:47 +0100)
committerStefan Huber <shuber2@gmx.at>
Thu, 29 Nov 2012 12:47:19 +0000 (13:47 +0100)
dotfiles/vim/.vimrc

index 54f8399206dde4032abbd029163835e246a12d2b..78f58a1b9fd69973bd94f306dbc9fee1382ad724 100644 (file)
@@ -8,14 +8,17 @@
 "option and setting.
 
 
+" Pathogen runtime path manipulation
+"call pathogen#infect() "Using the infect method breaks ft detection
+call pathogen#runtime_append_all_bundles()
+
 
+"Activate syntax highlighting
+syntax on
 "Activate filetype plugins: syntax highlighting, indentation, and more
-filetype plugin on
-filetype indent on
-filetype on
+filetype plugin indent on
 
 set modeline
-
 set autoindent
 "set tabstop=4
 set number
@@ -39,9 +42,6 @@ set incsearch
 set hlsearch
 
 
-"Activate syntax highlighting
-syntax on
-
 "Power saving tip: powertop-homepage
 let &guicursor = &guicursor . ",a:blinkon0"
 "According to vim help -- enable mouse in xterm...
@@ -63,8 +63,6 @@ au Filetype python,tex,c,cpp,cs,objc,java syn match BadWhitespace /\s\+$/ contai
 set listchars=tab:»­,trail:·,eol:$
 
 
-" Pathogen runtime path manipulation
-call pathogen#infect()
 
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""