Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. " VIM Configuration file
  2. " Description: VIM configuration file optimized for C/C++ development.
  3. " Author: Frank Mejzlik
  4.  
  5. " Set encoding
  6. set enc=utf-8
  7. set fenc=utf-8
  8. set termencoding=utf-8
  9.  
  10. " Disable vi compatibility
  11. set nocompatible
  12.  
  13. " Use indentation of prev line
  14. set autoindent
  15.  
  16. " Use intelligent indentation for C
  17. set smartindent
  18.  
  19. " Configure tabWidth and isert spaces instead of tabs
  20. set tabstop=4
  21. set softtabstop=4
  22. set shiftwidth=4
  23. set noexpandtab
  24.  
  25. " Wrap lines at 120 chars
  26. set textwidth=120
  27.  
  28. " Rurn syntax highlighting on
  29. set t_Co=256
  30. syntax on
  31.  
  32. " Rurn line numbers on
  33. set number
  34.  
  35. " Show matching braces
  36. set showmatch
  37.  
  38. " Intelligent comments
  39. " set comments=sl:/*,mb:\ *, elx:\ */
  40.  
  41. set path+=/path/to/sources
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement