Guest User

Untitled

a guest
Jul 19th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. syntax on
  2. set background=dark
  3. set ruler " show the line number on the bar
  4. set more " use more prompt
  5. set autoread " watch for file changes
  6. set number " line numbers
  7. set hidden
  8. set noautowrite " don't automagically write on :next
  9. set lazyredraw " don't redraw when don't have to
  10. set showmode
  11. set showcmd
  12. set nocompatible " vim, not vi
  13. set autoindent smartindent " auto/smart indent
  14. set smarttab " tab and backspace are smart
  15. set tabstop=4 " 6 spaces
  16. set shiftwidth=2
  17. set scrolloff=5 " keep at least 5 lines above/below
  18. set sidescrolloff=5 " keep at least 5 lines left/right
  19. set history=250
  20. set linebreak
  21. set cmdheight=2 " command line two lines high
  22. set undolevels=1000 " 1000 undos
  23. set updatecount=100 " switch every 100 chars
  24. set complete=.,w,b,u,U,t,i,d " do lots of scanning on tab completion
  25. set ttyfast " we have a fast terminal
  26. set noerrorbells " No error bells please
  27. set shell=bash
  28. set fileformats=unix
  29. set ff=unix
  30. filetype on " Enable filetype detection
  31. filetype indent on " Enable filetype-specific indenting
  32. filetype plugin on " Enable filetype-specific plugins
  33. "set wildmode=longest:full
  34. "set wildmenu " menu has tab completion
  35. "let maplocalleader=',' " all my macros start with ,
  36. set laststatus=2
  37.  
  38. " searching
  39. set incsearch " incremental search
  40. set ignorecase " search ignoring case
  41. set hlsearch " highlight the search
  42. set showmatch " show matching bracket
  43. set diffopt=filler,iwhite " ignore all whitespace and sync
  44.  
  45. " spelling
  46. if v:version >= 700
  47. " Enable spell check for text files
  48. autocmd BufNewFile,BufRead *.txt setlocal spell spelllang=en
  49. endif
Add Comment
Please, Sign In to add comment