Skip to content

Instantly share code, notes, and snippets.

@64lines
Last active August 5, 2016 05:03
Show Gist options
  • Select an option

  • Save 64lines/5e1f8862aa31337cb288 to your computer and use it in GitHub Desktop.

Select an option

Save 64lines/5e1f8862aa31337cb288 to your computer and use it in GitHub Desktop.
Basic .vimrc file
syntax on
set nu " Enable number lines"
set showcmd
set incsearch
set hlsearch
set autoindent
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
set tabstop=4
set shiftwidth=4
set expandtab
colorscheme desert
set wrap!
set path=$PWD/**
set pastetoggle=<F2>
set backspace=indent,eol,start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment