Skip to content

Commit

Permalink
Colored cursor line and moved plugin settings in the vimrc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
alessioalex committed Apr 25, 2011
1 parent ebd5bcd commit 5ac726d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions vimrc
Expand Up @@ -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
Expand Down Expand Up @@ -102,7 +101,9 @@ endfunction
"shortcut CTRL+S for toggle highlight search
nmap <silent> <C-s> <Esc>:call ToggleHLSearch()<cr>
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
Expand Down Expand Up @@ -139,12 +140,6 @@ abbrev ff :! firefox %:p &
"Shortcut for editing .vimrc
nmap ,ev :tabedit $MYVIMRC<cr>
"Change zen coding plugin expansion key to ctrl + e
let g:user_zen_expandabbr_key = '<C-e>'

"Faster shortcut for commenting. Requires T-Comment plugin
map <leader>c <c-_><c-_>
"Save time
"nmap <space> :

Expand Down Expand Up @@ -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 = '<C-e>'

"Faster shortcut for commenting. Requires T-Comment plugin
map <leader>c <c-_><c-_>

0 comments on commit 5ac726d

Please sign in to comment.