Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Configuration file for vim
- set modelines=0 " CVE-2007-2438
- " Normally we use vim-extensions. If you want true vi-compatibility
- " remove change the following statements
- set nocompatible " Use Vim defaults instead of 100% vi compatibility
- set backspace=2 " more powerful backspacing
- " Don't write backup file if vim is being called by "crontab -e"
- au BufWrite /private/tmp/crontab.* set nowritebackup nobackup
- " Don't write backup file if vim is being called by "chpass"
- au BufWrite /private/etc/pw.* set nowritebackup nobackup
- let skip_defaults_vim=1
- " Begin custom stuff
- " Syntax highlight
- syntax enable
- " Use dark b/g friendly color
- set background=dark
- " Some tab stuff? TODO: comment?
- set tabstop=8
- set softtabstop=4
- " Next two lines replace tab with 4 spaces
- set expandtab
- set shiftwidth=4
- filetype indent plugin on
- " Line numbers on left
- "set number
- highlight LineNr term=NONE cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=NONE guibg=NONE
- " Highlight search like emacs
- set hlsearch
- " Change line wrap behavior
- "set nowrap
Add Comment
Please, Sign In to add comment