Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. " All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by
  2. " the call to :runtime you can find below. If you wish to change any of those
  3. " settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
  4. " will be overwritten everytime an upgrade of the vim packages is performed.
  5. " It is recommended to make changes after sourcing debian.vim since it alters
  6. " the value of the 'compatible' option.
  7.  
  8. " This line should not be removed as it ensures that various options are
  9. " properly set to work with the Vim-related packages available in Debian.
  10. runtime! debian.vim
  11.  
  12. " Uncomment the next line to make Vim more Vi-compatible
  13. " NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
  14. " options, so any other options should be set AFTER setting 'compatible'.
  15. "set compatible
  16.  
  17. " Vim5 and later versions support syntax highlighting. Uncommenting the next
  18. " line enables syntax highlighting by default.
  19. syntax on
  20.  
  21. " If using a dark background within the editing area and syntax highlighting
  22. " turn on this option as well
  23. set background=dark
  24.  
  25. " Uncomment the following to have Vim jump to the last position when
  26. " reopening a file
  27. if has("autocmd")
  28. au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
  29. endif
  30.  
  31. " Uncomment the following to have Vim load indentation rules and plugins
  32. " according to the detected filetype.
  33. "if has("autocmd")
  34. " filetype plugin indent on
  35. "endif
  36.  
  37. " The following are commented out as they cause vim to behave a lot
  38. " differently from regular Vi. They are highly recommended though.
  39. set showcmd " Show (partial) command in status line.
  40. set showmatch " Show matching brackets.
  41. "set ignorecase " Do case insensitive matching
  42. set smartcase " Do smart case matching
  43. set incsearch " Incremental search
  44. set autowrite " Automatically save before commands like :next and :make
  45. "set hidden " Hide buffers when they are abandoned
  46. set mouse=a " Enable mouse usage (all modes)
  47. set number
  48. "set shiftround
  49. set smartindent
  50. "set autoindent
  51. set showmode
  52. set backspace=indent,eol,start
  53. "set expandtab
  54.  
  55. " Source a global configuration file if available
  56. if filereadable("/etc/vim/vimrc.local")
  57. source /etc/vim/vimrc.local
  58. endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement