Skip to content

Instantly share code, notes, and snippets.

@rummelonp
Forked from r00k/vimrc
Created November 24, 2015 12:11
Show Gist options
  • Select an option

  • Save rummelonp/9ead0a76576b4ed32120 to your computer and use it in GitHub Desktop.

Select an option

Save rummelonp/9ead0a76576b4ed32120 to your computer and use it in GitHub Desktop.

Revisions

  1. Ben Orenstein revised this gist Jan 9, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions vimrc
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    " A minimal vimrc for new vim users to start with.
    "
    " Referenced here: http://vimuniversity.com/samples/your-first-vimrc-should-be-nearly-empty
    "
    " Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/

    " Original Author: Bram Moolenaar <Bram@vim.org>
    " Made more minimal by: Ben Orenstein
    " Last change: 2012 Jan 20
  2. Ben Orenstein created this gist Jan 9, 2015.
    26 changes: 26 additions & 0 deletions vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    " A minimal vimrc for new vim users to start with.
    "
    " Referenced here: http://vimuniversity.com/samples/your-first-vimrc-should-be-nearly-empty
    "
    " Original Author: Bram Moolenaar <Bram@vim.org>
    " Made more minimal by: Ben Orenstein
    " Last change: 2012 Jan 20
    "
    " To use it, copy it to
    " for Unix and OS/2: ~/.vimrc
    " for MS-DOS and Win32: $VIM\_vimrc
    "
    " If you don't understand a setting in here, just type ':h setting'.

    " Use Vim settings, rather than Vi settings (much better!).
    " This must be first, because it changes other options as a side effect.
    set nocompatible

    " Make backspace behave in a sane manner.
    set backspace=indent,eol,start

    " Switch syntax highlighting on
    syntax on

    " Enable file type detection and do language-dependent indenting.
    filetype plugin indent on