Skip to content

Instantly share code, notes, and snippets.

@victoriadrake victoriadrake/.vimrc
Created Jun 30, 2018

What would you like to do?
My ~/.vimrc
" General
" Lines of history to remember
set history=500
" Highlight search results
set hlsearch
" Filetype detection, plugins, and indent rules
filetype plugin indent on
" Readability
syntax on
colo pablo
" Use spaces instead of tabs
set expandtab
set softtabstop=4
set autoindent "Use indent from current line for next line
set autoread "Detect when file changes outside of Vim
set smartindent "Be clever when code cues are recognized
set wrap "Wrap lines
" Spell check and line wrap for git commit messages
autocmd Filetype gitcommit setlocal spell textwidth=72
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.