Skip to content

Instantly share code, notes, and snippets.

@Jiantastic
Last active December 28, 2015 03:31
Show Gist options
  • Save Jiantastic/781893b9d1f1e857f7f3 to your computer and use it in GitHub Desktop.
Save Jiantastic/781893b9d1f1e857f7f3 to your computer and use it in GitHub Desktop.
My Vim configurations
" use Vim mode instead of pure Vi, it must be the first instruction
set nocompatible
" syntax highlighting
syntax enable
"line numbering
set number
"creates a ~file backup before every edit - nobackup disables this
set nobackup
" search settings
set hlsearch " highlight search results
set ignorecase " do case insensitive search...
set incsearch " do incremental search
set smartcase " ...unless capital letters are used
" backspacing over everything in insert mode
set backspace=indent,eol,start
" background = dark :)
set background=dark
" show cursor at all times
set ruler
" show line numbers
set number
set history=50
set showcmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment