Skip to content

Instantly share code, notes, and snippets.

@rajibsingh
Created November 30, 2015 05:14
Show Gist options
  • Save rajibsingh/75cb728c7d44651253ee to your computer and use it in GitHub Desktop.
Save rajibsingh/75cb728c7d44651253ee to your computer and use it in GitHub Desktop.
Raj's .vimrc
" A minimal vimrc for new vim users to start with.
"
" Referenced here: http://www.benorenstein.com/blog/your-first-vimrc-should-be-nearly-empty/
" Original Author: Bram Moolenaar <[email protected]>
" 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
" auto line numbering
set number
" automatic chdir
set autochdir
" turn off swapfile
set noswapfile
set ts=4
:set wrap
:set linebreak
:set nolist " list disables linebreak
:set textwidth=0
:set wrapmargin=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment