diff options
-rw-r--r-- | vimrc | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +filetype on +syntax on +colorscheme desert +set number +filetype indent on +set nowrap +set tabstop=4 +set shiftwidth=4 +set expandtab +set smartindent +set autoindent +set guioptions-=T + +" highlight search matches +set hlsearch + +" show matching parenthesis +set showmatch + +" remove whitespace on write +autocmd BufWritePre * :%s/\s\+$//e + +" press esc to cancel search +nnoremap <silent> <Esc> :nohlsearch<Bar>:echo<CR> |