aboutsummaryrefslogtreecommitdiff
path: root/vim/base.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/base.vim')
-rw-r--r--vim/base.vim48
1 files changed, 48 insertions, 0 deletions
diff --git a/vim/base.vim b/vim/base.vim
new file mode 100644
index 0000000..73bd8c1
--- /dev/null
+++ b/vim/base.vim
@@ -0,0 +1,48 @@
+set encoding=utf-8 " The encoding displayed.
+set fileencoding=utf-8 " The encoding written to file.
+
+" Apparently there are security issues with this?
+set nomodeline
+
+execute pathogen#infect('bundle/{}', 'themes/{}')
+
+" Allow me to hide buffers w/o saving
+set hidden
+
+" Persistent undo
+set undofile
+set undodir=~/.vimundo
+set undolevels=1000
+set undoreload=10000
+
+" lots of history, it's always nice to find old nasty command that happen
+" to be really useful
+set history=10000
+"
+" Keep the newbs from using arrow keys
+inoremap <Left> <NOP>
+inoremap <Right> <NOP>
+inoremap <Up> <NOP>
+inoremap <Down> <NOP>
+
+" Always show status line
+set laststatus=2
+
+" Case insensitive searching by default
+set ic
+" Highlight my searches by default
+set hls
+
+" No more swap files
+set updatecount=0
+
+" Vi in-compatibility
+set nocompatible
+
+
+" Bring down the tab spacing
+set tabstop=4
+set shiftwidth=4
+set noexpandtab
+
+