Created
August 21, 2014 04:41
-
-
Save suryabhupa/04ac4aae9bf7be91882e to your computer and use it in GitHub Desktop.
custom .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
" Make Vim more useful | |
set nocompatible | |
" Use the OS clipboard by default (on versions compiled with `+clipboard`) | |
" Set color scheme! | |
set clipboard=unnamed | |
" Enhance command-line completion | |
set wildmenu | |
" Allow cursor keys in insert mode | |
set esckeys | |
" Allow backspace in insert mode | |
set backspace=indent,eol,start | |
" Optimize for fast terminal connections | |
set ttyfast | |
" Add the g flag to search/replace by default | |
set gdefault | |
" Enable per-directory .vimrc files and disable unsafe commands in them | |
set exrc | |
set secure | |
" Enable syntax highlighting | |
syntax on | |
" Enable line numbers | |
set number | |
" Highlight searches | |
set hlsearch | |
" Highlight dynamically as pattern is typed | |
set incsearch | |
set mouse=a | |
" Don’t reset cursor to start of line when moving around. | |
set nostartofline | |
" Show the current mode | |
set showmode | |
" Show the filename in the window titlebar | |
set title | |
" Show the (partial) command as it’s being typed | |
set showcmd | |
" Start scrolling three lines before the horizontal window border | |
set scrolloff=2 | |
" size of a hard tabstop | |
set tabstop=4 | |
" size of an "indent" | |
set shiftwidth=4 | |
" colorscheme zenburn? nahh | |
" :colorscheme zenburn | |
" enable 256 colors | |
" :set t_Co=256 | |
" syntax enable | |
" set background=dark | |
" colorscheme solarized | |
" set smartindent | |
set smartindent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment