X-Git-Url: https://git.sthu.org/?p=shutils.git;a=blobdiff_plain;f=dotfiles%2Fvim%2F.vimrc;h=78f58a1b9fd69973bd94f306dbc9fee1382ad724;hp=54f8399206dde4032abbd029163835e246a12d2b;hb=799ba44bafe18cf394cf8a59e9fdd0fe7bb6a023;hpb=58d03d601664f6289c52424a6e963b62db1d7bae diff --git a/dotfiles/vim/.vimrc b/dotfiles/vim/.vimrc index 54f8399..78f58a1 100644 --- a/dotfiles/vim/.vimrc +++ b/dotfiles/vim/.vimrc @@ -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() """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""