From 5ac726d91635b312fccd6b34cc88c813d91f69ff Mon Sep 17 00:00:00 2001 From: alessioalex Date: Mon, 25 Apr 2011 21:11:56 +0300 Subject: [PATCH] Colored cursor line and moved plugin settings in the vimrc file. --- vimrc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/vimrc b/vimrc index c4ac2a8..e400fdc 100644 --- a/vimrc +++ b/vimrc @@ -43,7 +43,6 @@ set guioptions-=m "remove menu bar set guioptions-=T "remove toolbar "Open GVim in fullscreen set lines=55 columns=158 - "===== END GUI SETS =====" set shiftwidth=4 @@ -102,7 +101,9 @@ endfunction "shortcut CTRL+S for toggle highlight search nmap :call ToggleHLSearch() -set scrolloff=5 "Minimum 5 lines of text above and below the cursor + +set cursorline " CursorLine color group for the current line +set scrolloff=5 " Minimum 5 lines of text above and below the cursor "Hard-wrap paragraphs of text "press \q to format a biiig long line into multiple lines @@ -139,12 +140,6 @@ abbrev ff :! firefox %:p & "Shortcut for editing .vimrc nmap ,ev :tabedit $MYVIMRC -"Change zen coding plugin expansion key to ctrl + e -let g:user_zen_expandabbr_key = '' - -"Faster shortcut for commenting. Requires T-Comment plugin -map c - "Save time "nmap : @@ -253,3 +248,10 @@ let g:netrw_liststyle = 2 let g:netrw_retmap = 1 let g:netrw_silent = 1 let g:netrw_special_syntax= 1 + +" Zen Coding plugin +" Change zen coding plugin expansion key to ctrl + e +let g:user_zen_expandabbr_key = '' + +"Faster shortcut for commenting. Requires T-Comment plugin +map c