Created
November 16, 2014 21:59
-
-
Save benzittlau/8d9a046acb57640ec97e to your computer and use it in GitHub Desktop.
Basic .vimrc example
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
" Highlight searches | |
set hlsearch | |
" Case sensitivity | |
set ignorecase | |
set smartcase | |
" Automatic Indenting | |
set autoindent | |
" Enable use of the mouse | |
set mouse=a | |
" Display line numbers on the left | |
set number | |
" Indentation settings | |
" set shiftwidth=2 " How far using >> indents text | |
" set softtabstop=2 " How many columns vim inserts when you hit tab | |
" set expandtab " Hitting tab will insert spaces | |
" Sets how many lines of history VIM has to remember | |
set history=700 | |
" Makes search act like search in modern browsers | |
set incsearch | |
" Make undo's persistent across vim closes | |
set undofile | |
" Start scrolling before you hit bottom | |
set scrolloff=8 | |
" Replace all matches in a line by default | |
set gdefault | |
" Allows backspace to delete characters before the insert location | |
set backspace=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment