diff --git a/vimrc b/vimrc index 994ca65..9fd5b2e 100644 --- a/vimrc +++ b/vimrc @@ -3,6 +3,8 @@ set nocompatible " CL History set history=700 +set modelines=0 + "Enable filetype plugins filetype plugin on filetype indent on @@ -15,11 +17,15 @@ set wildmenu set wildignore=*.o,*~,*.pyc +set gdefault + set noruler set laststatus=2 "set cmdheight=2 +set number + set hid set backspace=eol,start,indent @@ -72,10 +78,22 @@ set ai "auto indent set si "smart indent set wrap "wrap lines -set number +let mapleader = "," " Make double- clear search highlights -nnoremap :nohlsearch +" nnoremap :nohlsearch +nnoremap :noh + +inoremap +nnoremap +vnoremap +nnoremap q + + +nnoremap / /\v +vnoremap / /\v + +nnoremap w vl set whichwrap+=<,>,[,] @@ -85,7 +103,7 @@ nnoremap U highlight WhitespaceEOL ctermbg=Red guibg=Red match WhitespaceEOL /\s\+$/ -nnoremap :normal gg=G +nnoremap f :normal gg=G set statusline=%m set statusline+=\ %f