Simple image host.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vimrc 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. map <ScrollWheelUp> <C-Y><C-Y><C-Y>
  18. map <ScrollWheelDown> <C-E><C-E><C-E>
  19. map <C-n> :NERDTreeToggle<CR>
  20. map <F1> :SaveSession<CR>
  21. map <F2> :OpenSession!<CR>
  22. " Configure
  23. syntax on
  24. filetype plugin indent on
  25. set tabstop=4
  26. set shiftwidth=4
  27. set rnu
  28. :let g:session_autosave = 'no'
  29. " Replace characters
  30. set list
  31. set listchars=tab:>.
  32. " Useful things
  33. nmap <C-o> :
  34. nmap \p :set paste!<CR>
  35. nmap <C-c> <ESC>
  36. " Search options
  37. set incsearch
  38. set ignorecase
  39. set smartcase
  40. set hlsearch
  41. " Disable swp
  42. set noswapfile
  43. " Dvorak: Fix hjkl navigation
  44. noremap h h
  45. noremap t k
  46. noremap n j
  47. noremap s l
  48. " Dvorak: Fix control keys
  49. noremap a v
  50. noremap o y
  51. noremap e p
  52. " Make nxc look like C
  53. au BufNewFile,BufRead *.nxc set filetype=c
  54. set colorcolumn=80