This is my personal development environment configuration, everything you need when you have a fresh install of (arch) linux.
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.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. set number
  2. set t_Co=256
  3. syntax on
  4. set background=dark
  5. set shiftwidth=2
  6. set tabstop=2
  7. set nocompatible " be iMproved, required
  8. filetype off " required
  9. " set the runtime path to include Vundle and initialize
  10. set rtp+=~/.vim/bundle/Vundle.vim
  11. call vundle#begin()
  12. " let Vundle manage Vundle, required
  13. Plugin 'VundleVim/Vundle.vim'
  14. Plugin 'pangloss/vim-javascript'
  15. Plugin 'nathanaelkane/vim-indent-guides'
  16. Plugin 'Raimondi/delimitMate'
  17. Plugin 'scrooloose/syntastic'
  18. Plugin 'scrooloose/nerdtree'
  19. Plugin 'joukevandermaas/vim-ember-hbs'
  20. Plugin 'vim-airline/vim-airline'
  21. Plugin 'vim-airline/vim-airline-themes'
  22. " All of your Plugins must be added before the following line
  23. call vundle#end() " required
  24. filetype plugin indent on " required
  25. " To ignore plugin indent changes, instead use:
  26. "filetype plugin on
  27. " This does what it says on the tin. It will check your file on open too, not
  28. " just on save.
  29. " You might not want this, so just leave it out if you don't.
  30. let g:syntastic_check_on_open=1
  31. "shortcut for line split
  32. imap <C-c> <CR><Esc>O
  33. "start up nerd tree when no files are specified
  34. autocmd StdinReadPre * let s:std_in=1
  35. autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
  36. "tab line for vim-airline
  37. let g:airline#extensions#tabline#enabled = 1
  38. :nnoremap <Tab> :bnext<CR>
  39. :nnoremap <S-Tab> :bprevious<CR>
  40. map <C-n> :NERDTreeToggle<CR>