From 5d40569e5c1ca453df1bf7b0547f3f69e3e684d7 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Wed, 21 Feb 2018 01:01:29 -0500 Subject: Add a makefile to rework init.vim. Commit update init.vm TODO: remove in the future and run make in setup --- vim/base.vim | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 vim/base.vim (limited to 'vim/base.vim') 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 +inoremap +inoremap +inoremap + +" 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 + + -- cgit v1.2.3