From 16b48d3c3d4d9851f4e8a81f546d2e2a0190733b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 28 Jan 2016 15:28:38 -0500 Subject: Strip out useless comments --- .vimrc | 51 +++++++++------------------------------------------ 1 file changed, 9 insertions(+), 42 deletions(-) (limited to '.vimrc') diff --git a/.vimrc b/.vimrc index 1a266c74..1e1175c4 100644 --- a/.vimrc +++ b/.vimrc @@ -1,62 +1,29 @@ set nocompatible - -" Backspace past beginning of line in insert mode. -set backspace=indent,eol,start - -" Allow switching buffers without saving. set hidden +set ttimeoutlen=0 +set shortmess=atI +set visualbell t_vb= +set backspace=indent,eol,start +set wildmenu wildmode=list:longest -" Show cursor position and incomplete commands, always show status line. -set ruler showcmd laststatus=2 - -" Always show one extra line at the top or bottom of the window. -set scrolloff=1 - -" Search incrementally with smart case sensitivity, highlight all matches. set incsearch ignorecase smartcase hlsearch - -" Automatic indentation and adjust with tab and backspace. set autoindent smartindent smarttab +set tabstop=4 expandtab shiftwidth=2 shiftround -" Show line numbers, highlight current line and fixed columns. -set number cursorline colorcolumn=80,100 - -" Set window title. set title - -" Shorten messages and disable intro screen -set shortmess=atI - -" Disable audible bell. -set visualbell t_vb= - -" Prevent delay when returning to norml mode in terminal vim. -set ttimeoutlen=0 - -" Show hard tabs and trailing whitespace +set ruler showcmd laststatus=2 +set scrolloff=1 +set number cursorline colorcolumn=80,100 set list listchars=tab:»·,trail:· - -" Show hard tabs as 4 side, use 2 space indentation rounded to multiples. -set tabstop=4 expandtab shiftwidth=2 shiftround - -" Syntax highlighting, filetype indentation rules. syntax on filetype plugin indent on -" Show tab-complete suggestions and complete longest substring. -set wildmenu wildmode=list:longest - -" Swap , and \ for leader. noremap \ , let mapleader = ',' - -" Clear search results. nmap n :nohlsearch -" Set GUI font and disable GUI features. set guifont=ProFont:h11 guioptions=c -" Configure gruvbox colorscheme. set background=dark let g:gruvbox_termcolors = 16 let g:gruvbox_italic = 0 -- cgit 1.4.1