From: Stefan Huber Date: Thu, 29 Nov 2012 12:47:19 +0000 (+0100) Subject: vimrc: update X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=799ba44bafe18cf394cf8a59e9fdd0fe7bb6a023;p=shutils.git vimrc: update --- 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() """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""