Skip to content

Instantly share code, notes, and snippets.

@raqqun
Last active October 28, 2015 22:32
Show Gist options
  • Save raqqun/30487d00f453fa52fe2e to your computer and use it in GitHub Desktop.
Save raqqun/30487d00f453fa52fe2e to your computer and use it in GitHub Desktop.
a very basic vimrc
" set default encoding
set encoding=utf-8
" Activate indentation
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
" Set numbers on lines
set nu
" Disable swap files
set noswapfile
" Enable syntax highlighting
syntax on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment