rubin110

Untitled

Apr 5th, 2010
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.97 KB | None | 0 0
  1. " Use Vim settings, rather then Vi settings (much better!).
  2. " This must be first, because it changes other options as a side effect.
  3. set nocompatible
  4.  
  5. " allow backspacing over everything in insert mode
  6. set backspace=indent,eol,start
  7.  
  8. " CTRL-U in insert mode deletes a lot.  Use CTRL-G u to first break undo,
  9. " so that you can undo CTRL-U after inserting a line break.
  10. inoremap <C-U> <C-G>u<C-U>
  11.  
  12. " In many terminal emulators the mouse works just fine, thus enable it.
  13. " if has('mouse')
  14. "   set mouse=a
  15. " endif
  16.  
  17. " Switch syntax highlighting on, when the terminal has colors
  18. " Also switch on highlighting the last used search pattern.
  19. if &t_Co > 2 || has("gui_running")
  20.   syntax on
  21.   set hlsearch
  22. endif
  23.  
  24. " Enable file type detection.
  25. " Use the default filetype settings, so that mail gets 'tw' set to 72,
  26. " 'cindent' is on in C files, etc.
  27. " Also load indent files, to automatically do language-dependent indenting.
  28. filetype plugin indent on
  29.  
  30. set number
  31. set nobackup
Add Comment
Please, Sign In to add comment