From 2a3a9336ab720ef4f887e8abdc51c2409ca67ea7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 5 Aug 2014 09:24:00 +0200 Subject: vimrc reordering --- vimrc | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/vimrc b/vimrc index c5d9ee5..bb18c11 100644 --- a/vimrc +++ b/vimrc @@ -52,36 +52,12 @@ call togglebg#map("") highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\t\|\s\+$/ -" local vimrc -let g:localvimrc_ask=0 -let g:localvimrc_sandbox=0 - -" ctags -nnoremap :TlistToggle -let Tlist_Ctags_Cmd = "/usr/bin/ctags" -let Tlist_WinWidth = 50 -let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open -let Tlist_Show_One_File = 1 " Only show tags for current buffer -let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file) - -" files -set ff=unix -set nofsync -:filetype on - -" set list -" set cursorline -" set cursorcolumn -set foldmethod=marker -set tabstop=4 shiftwidth=4 softtabstop=4 expandtab -set backspace=indent,eol,start " allow backspacing over everything in insert mode - -"set spell if has("vms") set nobackupss " do not keep a backup file, use versions instead else set backup " keep a backup file endif +"set spell set autoindent " use autoindent" set nocompatible " do not try to act like vi set scrolloff=5 " number of context lines above and below the cursor @@ -93,6 +69,30 @@ set incsearch " do incremental searching set number " show line number set showmode " show current mode +" files +set ff=unix +set nofsync +filetype off " required by vundle + +" set list +" set cursorline +" set cursorcolumn +set foldmethod=marker +set tabstop=4 shiftwidth=4 softtabstop=4 expandtab +set backspace=indent,eol,start " allow backspacing over everything in insert mode + +" local vimrc +let g:localvimrc_ask=0 +let g:localvimrc_sandbox=0 + +" ctags +nnoremap :TlistToggle +let Tlist_Ctags_Cmd = "/usr/bin/ctags" +let Tlist_WinWidth = 50 +let Tlist_Exit_OnlyWindow = 1 " exit if taglist is last window open +let Tlist_Show_One_File = 1 " Only show tags for current buffer +let Tlist_Enable_Fold_Column = 0 " no fold column (only showing one file) + " toggle view invisible with \t nmap l :set list! -- cgit v1.1-2-g2b99