Last active
July 7, 2016 19:55
-
-
Save nitrocode/c8599372370e89d812aa0f367110db83 to your computer and use it in GitHub Desktop.
vimrc for linux and cygwin
This file contains hidden or 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
| " too lazy to look up these but these are guaranteed to benefit me in linux and cygwin | |
| set nocompatible | |
| set backspace=indent,eol,start | |
| set backup | |
| set history=50 | |
| set ruler | |
| set background=dark | |
| set showcmd | |
| set incsearch | |
| set bs=2 | |
| syntax on | |
| set hlsearch | |
| " when I hit tab, vim says 4 spaces | |
| set expandtab | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| " no tilda backup files | |
| set nobackup | |
| set nowritebackup | |
| " This should maintain LF instead of CRLF | |
| " http://unix.stackexchange.com/a/44642 | |
| set fileformat=unix | |
| set fileformats=unix,dos | |
| " set nobinary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment