From 8210279ce0e1226b7f4df9e1432a9c2e8d0a4dbb Mon Sep 17 00:00:00 2001 From: Jeremy Kaplan Date: Fri, 1 Sep 2017 17:26:15 -0700 Subject: [PATCH] vim config --- vim/.vimrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 0a83cf4..de624a4 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -16,6 +16,15 @@ set tabstop=4 set softtabstop=4 set shiftwidth=4 +set wrap +set linebreak +set nolist +set textwidth=0 +set wrapmargin=0 + +set ignorecase +set smartcase + highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ @@ -30,3 +39,9 @@ map ;h :wincmd h map ;j :wincmd j map ;k :wincmd k map ;l :wincmd l + +map ;" :split +map ;% :vsplit +map ;0 :close + +map ;w :w