Skip to content

Instantly share code, notes, and snippets.

@rmorrin
Created September 9, 2015 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmorrin/bdd79a716a9079060732 to your computer and use it in GitHub Desktop.
Save rmorrin/bdd79a716a9079060732 to your computer and use it in GitHub Desktop.
set backspace=indent,eol,start " make that backspace key work the way it should
filetype indent on " activates indenting for files
set autoindent " auto indenting
set number " line numbers
set nobackup " get rid of anoying ~file
set laststatus=2 " make the last line where the status is two lines deep so you can see status always
set nowrap
set ignorecase
set smartcase
set incsearch " search as you key in
set softtabstop=4 " tab size
set shiftwidth=4 " column width
set expandtab " Tab to space
set ai " set auto-indenting on for programming
set showmatch " automatically show matching brackets. works like it does in bbedit.
set vb " turn on the "visual bell" - which is much quieter than the "audio blink"
set ruler " show the cursor position all the time
set nocompatible " vi compatible is LAME
set background=light " Use colours that work well on a dark background (Console is usually black)
syntax on " turn syntax highlighting on by default
set noshowmode " disable showmode, vim-airline will show us this
set term=xterm "
set t_Co=256 "
set viminfo= "
let &t_AB="\e[48;5;%dm" "
let &t_AF="\e[38;5;%dm" "
colorscheme hybrid "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment