diff options
author | June McEnroe <programble@gmail.com> | 2016-01-28 15:28:38 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2016-01-28 15:28:38 -0500 |
commit | 16b48d3c3d4d9851f4e8a81f546d2e2a0190733b (patch) | |
tree | 91afe3e0e9acb7bf9b38f6bb01d10941cf7b75b0 /.vimrc | |
parent | Trim tmux configuration (diff) | |
download | src-16b48d3c3d4d9851f4e8a81f546d2e2a0190733b.tar.gz src-16b48d3c3d4d9851f4e8a81f546d2e2a0190733b.zip |
Strip out useless comments
Diffstat (limited to '')
-rw-r--r-- | .vimrc | 51 |
1 files changed, 9 insertions, 42 deletions
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 <leader>n :nohlsearch<CR> -" 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 |