From 799ba44bafe18cf394cf8a59e9fdd0fe7bb6a023 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Thu, 29 Nov 2012 13:47:19 +0100 Subject: [PATCH] vimrc: update --- dotfiles/vim/.vimrc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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() """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -- 2.30.2