Created
November 30, 2015 08:34
-
-
Save evuez/47fe0457b4212cbae42b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 | |
" Show line numbers | |
set number | |
" Force wrap at col 72 for git commit bodies | |
au FileType gitcommit set tw=72 | |
au FileType gitcommit call setpos('.', [0, 1, 1, 0]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment