Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. set nocompatible " be iMproved, required
  2. filetype off " required
  3.  
  4. " set the runtime path to include Vundle and initialize
  5. set rtp+=~/.vim/bundle/Vundle.vim
  6. call vundle#begin()
  7. " alternatively, pass a path where Vundle should install plugins
  8. "call vundle#begin('~/some/path/here')
  9.  
  10. " let Vundle manage Vundle, required
  11. Plugin 'VundleVim/Vundle.vim'
  12.  
  13. Plugin 'ctrlpvim/ctrlp.vim'
  14. Plugin 'flazz/vim-colorschemes'
  15. Plugin 'mileszs/ack.vim'
  16. Plugin 'pangloss/vim-javascript'
  17. Plugin 'posva/vim-vue'
  18. Plugin 'prettier/vim-prettier'
  19. Plugin 'scrooloose/nerdtree'
  20. Plugin 'tpope/vim-fugitive'
  21. Plugin 'vim-airline/vim-airline'
  22. Plugin 'w0rp/ale'
  23.  
  24. call vundle#end() " required
  25. filetype plugin indent on " required
  26. " To ignore plugin indent changes, instead use:
  27. "filetype plugin on
  28. "
  29. " Brief help
  30. " :PluginList - lists configured plugins
  31. " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
  32. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  33. " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
  34. "
  35. " see :h vundle for more details or wiki for FAQ
  36. " Put your non-Plugin stuff after this line
  37. syntax on
  38. set number
  39. set relativenumber
  40. let g:ctrlp_custom_ignore = 'node_modules\|DS_Store\|git'
  41.  
  42. " The silver search
  43. let g:ackprg = 'ag --nogroup --nocolor --column'
  44.  
  45. " NERDTree
  46. let NERDTreeShowHidden=1
  47. map <silent> <C-n> :NERDTreeFocus<CR>
  48.  
  49. " Syntastic
  50. set statusline+=%#warningmsg#
  51. set statusline+=%{SyntasticStatuslineFlag()}
  52. set statusline+=%*
  53. let g:syntastic_always_populate_loc_list = 1
  54. let g:syntastic_auto_loc_list = 1
  55. let g:syntastic_check_on_open = 1
  56. let g:syntastic_check_on_wq = 0
  57.  
  58. " Prettier
  59. let g:prettier#autoformat = 0
  60. autocmd BufWritePre *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html PrettierAsync
  61.  
  62. " Colorscheme
  63. colorscheme gruvbox
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement