Skip to content

Instantly share code, notes, and snippets.

@kapillamba4
Created March 10, 2018 13:15
Show Gist options
  • Save kapillamba4/093556c2c8680c8c805f01262e4e2fad to your computer and use it in GitHub Desktop.
Save kapillamba4/093556c2c8680c8c805f01262e4e2fad to your computer and use it in GitHub Desktop.
set nocompatible " Disable vi-compatibility
set t_Co=256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
set showmode " always show what mode we're currently editing in
set nowrap " don't wrap lines
set tabstop=2 " a tab is four spaces
set smarttab
set tags=tags
set softtabstop=2 " when hitting <BS>, pretend like a tab is removed, even if spaces
set expandtab " expand tabs by default (overloadable per file type later)
set shiftwidth=2 " number of spaces to use for autoindenting
set shiftround " use multiple of shiftwidth when indenting with '<' and '>'
set backspace=indent,eol,start " allow backspacing over everything in insert mode
set autoindent " always set autoindenting on
set copyindent " copy the previous indentation on autoindenting
set number " always show line numbers
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all lowercase,
set timeout timeoutlen=200 ttimeoutlen=100
set autowrite "Save on buffer switch
set mouse=a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment