Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Vim comes with a lot of functionality, but a lot of them are not enabled by default. Put the following in the file ~/.vimrc for some useful configuration (double quote begins a comment in Vim configuration):
  2. set nocompatible " disable vi-compatible behaviour
  3. filetype plugin indent on " enable functionality based on file type
  4. syntax enable
  5. set autoindent
  6. set incsearch
  7. set laststatus=2
  8. set mouse=a
  9. set expandtab
  10. set number
  11. set scrolloff=5
  12. set shiftwidth=0
  13. set smarttab
  14. set tabstop=4
  15. " enable syntax highlighting
  16. " automatic indentation
  17. " jump to next match when typing during search
  18. " always show status line
  19. " enable mouse support
  20. " use space for indent
  21. " show line numbers
  22. " always show 5 lines before / after cursor
  23. " use value of tabstop for indent
  24. " tab / backspace adjusts indents
  25. " width of a tab / indent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement