Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. execute pathogen#infect()
  2. syntax on
  3. filetype plugin indent on
  4.  
  5. " GUI
  6. if has("gui_running")
  7. set guifont=FuraCode\ Nerd\ Font\ 14
  8. set guioptions -=m
  9. " set guioptions -=T
  10. set guioptions -=r
  11. set guioptions -=L
  12. endif
  13. set nocompatible
  14. filetype off
  15. set encoding=utf8
  16.  
  17. " set the runtime path to include Vundle and initialize
  18. set rtp+=~/.vim/bundle/Vundle.vim
  19. call vundle#begin()
  20. " let Vundle manage Vundle, required
  21. Plugin 'VundleVim/Vundle.vim'
  22. Plugin 'tpope/vim-fugitive'
  23. Plugin 'ryanoasis/vim-devicons'
  24. Plugin 'vim-airline/vim-airline'
  25. Plugin 'vim-airline/vim-airline-themes'
  26. Plugin 'NLKNguyen/papercolor-theme'
  27. Plugin 'pangloss/vim-javascript'
  28. Plugin 'mxw/vim-jsx'
  29. " All of your Plugins must be added before the following line
  30. call vundle#end() " required
  31.  
  32. " Vim Plug
  33. call plug#begin()
  34. Plug 'drewtempelmeyer/palenight.vim'
  35. call plug#end()
  36.  
  37. filetype plugin indent on " required
  38.  
  39. " Ctrl P
  40. let g:webdevicons_enable_ctrlp = 1
  41. let g:ctrlp_custom_ignore = '\v[\/](\.(git|hg|svn)|(node_modules|vendor))$'
  42.  
  43. " NerdTree
  44. autocmd StdinReadPre * let s:std_in=1
  45. autocmd VimEnter * if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
  46. map <C-n> :NERDTreeToggle<CR>
  47. autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
  48. let g:webdevicons_enable_nerdtree = 1
  49.  
  50. " Airline
  51. let g:airline#extensions#tabline#enabled = 1
  52. let g:airline_theme='papercolor'
  53. let g:airline_powerline_fonts = 1
  54.  
  55. " PaperColor
  56. set background=dark
  57. colorscheme palenight
  58.  
  59. " JS
  60. let g:javascript_plugin_jsdoc = 1
  61. let g:javascript_plugin_ngdoc = 1
  62. let g:javascript_plugin_flow = 1
  63. let g:javascript_conceal_function = "ƒ"
  64. let g:javascript_conceal_null = "ø"
  65. let g:javascript_conceal_this = "@"
  66. let g:javascript_conceal_return = "⇚"
  67. let g:javascript_conceal_undefined = "¿"
  68. let g:javascript_conceal_NaN = "ℕ"
  69. let g:javascript_conceal_prototype = "¶"
  70. let g:javascript_conceal_static = "•"
  71. let g:javascript_conceal_super = "Ω"
  72. let g:javascript_conceal_arrow_function = "⇒"
  73. let g:jsx_ext_required = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement