"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
set bs=2
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...
" set list to activate
set listchars=tab:»,trail:·,eol:$
-
-" Pathogen runtime path manipulation
-call pathogen#infect()
+au Filetype python,tex,c,cpp,cs,objc,java :DetectIndent
+"let g:detectindent_preferred_expandtab = 1
+"let g:detectindent_preferred_indent = 4
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""