From 3d10fafdfc888b43d91aebf45cb6022f4f3c3203 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 6 Jul 2015 11:46:36 -0700 Subject: configuration files --- vimrc | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 vimrc (limited to 'vimrc') diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..8627b27 --- /dev/null +++ b/vimrc @@ -0,0 +1,55 @@ +syn off +set nocompatible +let mapleader="," +filetype indent plugin on +set autoread +set nojoinspaces +set list lcs=trail:·,tab:»· +set hlsearch +set incsearch +set ignorecase +set showmatch +set matchtime=1 +set encoding=utf-8 +set winminheight=0 +set hidden " allows files to be open in invisible buffers +set wildmenu +set wildmode=full +set smartcase + +" seriously, no backup +set nobackup +set nowritebackup +set noswapfile + +set expandtab +set tabstop=2 +set shiftwidth=2 +set softtabstop=2 +set textwidth=80 +set smarttab +set autoindent +set nocindent + +highlight ExtraWhitespace ctermbg=red guibg=red +match ExtraWhitespace /\s\+$/ + +autocmd BufWinEnter * match ExtraWhitespace /\s\+$/ +autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@