summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2011-12-12 12:09:20 +0200
committerYuval Adam <yuv.adm@gmail.com>2011-12-12 12:09:20 +0200
commit0398fb9fa772f69256990663fb4a27cf8184f9a8 (patch)
tree14d2439e4d8010d226de00a21b136298d35b084b
parent8c154ef0b744d87ce64cf699134fdd1382d208f2 (diff)
basic .vimrc
-rw-r--r--.vimrc20
1 files changed, 20 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..8e2e5af
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,20 @@
+syntax enable
+set background=dark
+colorscheme solarized
+
+set nocompatible
+set encoding=utf-8
+set showcmd " display incomplete commands
+filetype plugin indent on " load file type plugins + indentation
+
+"" Whitespace
+set nowrap " don't wrap lines
+set tabstop=4 shiftwidth=4 " a tab is two spaces
+set expandtab " use spaces, not tabs
+set backspace=indent,eol,start " backspace through everything in insert mode
+
+"" Searching
+set hlsearch " highlight matches
+set incsearch " incremental searching
+set ignorecase " searches are case insensitive...
+set smartcase " ... unless they contain at least one capital letter