" User's vimrc file
" Creator:		Raphaël Halimi <raphael.halimi@gmail.com>
" Last Modification:	2017-12-12

" Load defaults.vim, but allow to revert some settings
" See $VIMRUNTIME/defaults.vim for more information
if filereadable($VIMRUNTIME . "/defaults.vim")
  unlet! skip_defaults_vim
  source $VIMRUNTIME/defaults.vim
  "set compatible		" Use Vi-compatible settings
  "set backspace&		" No backspacing over everything
  "set history&			" Only 50 lines of command line history
  "set ruler&			" No cursor position
  "set showcmd&			" Don't display incomplete commands
  "set wildemenu&		" Don't display completion matches
  "set ttimeout&		" No time out for key codes
  "set ttimeoutlen&		" No wait after Esc for special key
  "set display&			" No indicator for truncated last line
  "set scrolloff&		" No context around cursor
  "set incsearch&		" No incremental search
  "set nrformats&		" Recognize octal numbers for <C-A> and <C-X>
  "unmap Q			" Don't map Q to gq
  "iunmap <C-U>			" Don't map <C-U> to <C-G>u<C-U>
  "set mouse&			" Don't use mouse
  "syntax off			" Don't do syntax highlighting
  "unlet c_comment_strings	" Don't highlight strings inside C comments.
  "filetype off			" Don't do filetype detection
  "filetype indent off		" Dont load filetype indent files
  augroup vimStartup | au! | augroup END	" Don't jump to last position
  "delcommand DiffOrig		" Don't define DiffOrig command
endif

" Other useful settings - from legacy Debian /etc/vim/vimrc
set ignorecase	" Do case insensitive matching
set smartcase	" Do smart case matching
"set autowrite	" Automatically save before commands like :next and :make
set hidden	" Hide buffers when they are abandoned

" Store viminfo file in ~/.vim/viminfo instead of ~/.viminfo
set viminfo+=n~/.vim/viminfo

" Quite useful but potentially dangerous - use it at your own risk
"set modeline	" Enable modelines
