Simple image host.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. set nocompatible " be iMproved
  2. filetype off " required!
  3. " Pachogen
  4. call pathogen#infect()
  5. syntax enable
  6. filetype plugin indent on
  7. " Vundle start
  8. set rtp+=~/.vim/bundle/Vundle.vim
  9. call vundle#begin()
  10. " Plugins
  11. Plugin 'gmarik/Vundle.vim'
  12. Plugin 'kchmck/vim-coffee-script'
  13. " Vundle end
  14. call vundle#end() " required
  15. filetype plugin indent on " required
  16. " Bind keys
  17. set mouse=a
  18. map <ScrollWheelUp> <C-Y><C-Y><C-Y>
  19. map <ScrollWheelDown> <C-E><C-E><C-E>
  20. map <C-n> :NERDTreeToggle<CR>
  21. map <F1> :SaveSession<CR>
  22. map <F2> :OpenSession!<CR>
  23. " Configure
  24. syntax on
  25. filetype plugin indent on
  26. set tabstop=4
  27. set shiftwidth=4
  28. set rnu
  29. :let g:session_autosave = 'no'
  30. " Replace characters
  31. set list
  32. set listchars=tab:>.
  33. " Useful things
  34. nmap <C-o> :
  35. nmap \p :set paste!<CR>
  36. nmap <C-c> <ESC>
  37. " Search options
  38. set incsearch
  39. set ignorecase
  40. set smartcase
  41. set hlsearch
  42. " Disable swp
  43. set noswapfile
  44. " Dvorak: Fix hjkl navigation
  45. noremap h h
  46. noremap t k
  47. noremap n j
  48. noremap s l
  49. " Dvorak: Fix control keys
  50. noremap a v
  51. noremap o y
  52. noremap e p
  53. " Make nxc look like C
  54. au BufNewFile,BufRead *.nxc set filetype=c
  55. set colorcolumn=80