fork download
  1. " vim: set filetype=vim :
  2. " encoding and language
  3. set enc=utf-8
  4. set tenc=utf-8
  5. set langmenu=en_GB.UTF-8
  6. lang messages en
  7.  
  8. " bells
  9. set noeb
  10. set vb
  11. set t_vb=
  12. autocmd GUIEnter * set visualbell t_vb=
  13.  
  14. colorscheme koehler " colours
  15. set wrap " line wrapping
  16. set ch=1 " height of command line
  17. set nu " line numbers
  18. set nuw=6 " width of line number column
  19. set cul " highlight current line
  20. set cuc " highlight current column
  21. set nomh " don't hide mouse pointer
  22. set stal=2 " always show tabline
  23. set ls=2 " always show statusline
  24. set mousem=popup " rmb behaviour
  25. set go=eR " GUI options: GUI tabline, right-hand scrollbar
  26. set lsp=0 " no additional spacing between lines
  27. set gfn=Consolas:h13 " font
  28. set ts=4 " tabstop
  29. set sw=4 " shiftwidth
  30. set sta " smarttab
  31. set ai " autoindent
  32. set si " smartindent
  33. set et " expandtab
  34. set nofoldenable " no folding
  35. set dir=. " swap file
  36. set list " visible whitespace
  37. set lcs=tab:>-,trail:· " whitespace characters
  38. set nobackup " no backup
  39.  
  40. " stop annyoing whitespace destroying crappy behaviour
  41. inoremap <CR> <CR>x<BS>
  42.  
  43. " spellchecking (F11 toggle)
  44. inoremap <silent> <F11> :set spell!<CR>
  45. nnoremap <silent> <F11> :set spell!<CR>
  46. vnoremap <silent> <F11> :set spell!<CR>
  47.  
  48. set spelllang=en_gb
  49.  
  50. " status line
  51. set statusline=%<#%n\ %F\ [%{&fileencoding}]\ [%{&fileformat}]\ %y%(\ %m%)%(\ %r%)%=%-14.(%l,%c%V%)\ %P
  52.  
  53. " secure rc mode
  54. set secure
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty