Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change tab setting and colorscheme. Add shortcut for no highlight.

  • Loading branch information...
commit 743a4092bbf21e55be39599148ecaa455345e9fc 1 parent 92f24e0
@JWong42 authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 .vimrc
View
12 .vimrc
@@ -1,7 +1,7 @@
" Version: 1.0 - Oct 4th, 2012
" Set colorscheme
-colorscheme darkblue
+colorscheme evening
" Enable syntax highlighting
syntax on
@@ -21,21 +21,21 @@ set incsearch
" Highlight search results
set hls
+" Disable highlight when <leader><cr> (:enter) is pressed
+map <silent> <leader><cr> :noh<cr>
+
" Show position
set ruler
" Automatically indent when adding a curly bracket, etc.
set smartindent
-" Use spaces instead of tabs
-set expandtab
-
" Use smart tab
set smarttab
" 1 tab == 2 spaces
-set shiftwidth=2
-set tabstop=2
+set shiftwidth=4
+set tabstop=4
" Show line number
set number
Please sign in to comment.
Something went wrong with that request. Please try again.