Guest User

Untitled

a guest
Nov 19th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. " File-type highlighting and configuration.
  2. " Run :filetype (without args) to see what you may have
  3. " to turn on yourself, or just set them all to be sure.
  4. syntax on
  5. filetype on
  6. filetype plugin on
  7. filetype indent on
  8.  
  9. " Intuitive backspacing in insert mode
  10. set backspace=indent,eol,start
  11.  
  12. " No backup and swap file
  13. set nobackup
  14. set noswapfile
  15.  
  16. " No wrap long lines
  17. set nowrap
  18.  
  19. " Show line number
  20. set number
  21.  
  22. " Set auto indent
  23. set autoindent
  24. set shiftwidth=4 " komutla tab atılırken tabın boşluk sayısı (örn :>)
  25. set tabstop=4 " Tab kaç boşluktan oluşuyor. Vim otomatik girintiyi bu değeri referans alarak atıyor.
  26.  
  27. " Fold lines
  28. set foldenable
  29. set foldmethod=indent " Girintiye göre fold edilsin
  30. set foldnestmax=6 " İç içe en fazla 6 fold olsun
  31.  
  32. " Complete command
  33. set wildmenu
  34.  
  35. " Colored 80th column. This is useful text align
  36. set colorcolumn=80
  37.  
  38. set showmatch
  39.  
  40. set smarttab
  41.  
  42. " file encodings.
  43. set fileencodings=ucs-bom,utf-8,default,latin1,iso-8859-1
  44.  
  45. " Folding and unfolding
  46. map f :set foldmethod=indent<cr>zM<cr>
  47. map F :set foldmethod=manual<cr>zR<cr>
  48.  
  49. " Snipmate Plugin'inde kullanılıyor.
  50. let g:snips_author='Ali OYGUR'
  51. let g:snips_author_email='alioygur@gmail.com'
Add Comment
Please, Sign In to add comment