Created
September 18, 2012 10:02
-
-
Save cloud8421/3742364 to your computer and use it in GitHub Desktop.
Vim and Tmux workshop - 01 - A basic .vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set nobackup | |
set nowritebackup | |
set notimeout | |
set ttimeout | |
set ttimeoutlen=10 | |
set noswapfile | |
set history=50 | |
set ruler | |
set showcmd | |
set incsearch | |
set laststatus=2 | |
set t_Co=256 | |
syntax on | |
filetype plugin indent on | |
" Send more characters for redraws | |
set ttyfast | |
" Enable mouse use in all modes | |
set mouse=a | |
set ttymouse=xterm2 | |
" Fix backspace | |
set backspace=indent,eol,start | |
fixdel | |
" Softtabs, 2 spaces | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
" Display extra whitespace | |
set list listchars=tab:»·,trail:· | |
" Clipboard fix for OsX | |
set clipboard=unnamed | |
" Numbers | |
set number | |
set numberwidth=5 | |
"Folding | |
set foldmethod=indent | |
set foldlevelstart=99 | |
" Autocompletion options | |
set wildmode=list:longest,list:full | |
set complete=.,w,b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment