Skip to content

Instantly share code, notes, and snippets.

@hermansc
Created June 26, 2012 16:14
Show Gist options
  • Save hermansc/2996793 to your computer and use it in GitHub Desktop.
Save hermansc/2996793 to your computer and use it in GitHub Desktop.
vimrc
set softtabstop=2
set shiftwidth=2
set tabstop=2
set expandtab "expandtab (whitespace)
set number "line numbers
set ai "autoindent
set si "smartindent
set tw=79 "wrap on 79
set sta "smarttab
set history=100 "remember more than 20 cmd-history
set nobackup "don't generate swap and backup files
set nowb
set noswapfile
syntax on
filetype plugin indent on
colorscheme ron
@rbonvall
Copy link

rbonvall commented Jun 26, 2012

Hi,
instead of having a comment to explain short options:

set ai "autoindent
set si "smartindent
set tw=79 "wrap on 79
set sta "smarttab

you could just use the long name of the option:

set autoindent
set smartindent
set textwidth=79
set smarttab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment