Advertisement
Guest User

Untitled

a guest
Sep 19th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. "deir Scripts-----------------------------
  2. if &compatible
  3. set nocompatible " Be iMproved
  4. endif
  5.  
  6. " Required:
  7. set runtimepath+=/Users/pb/.config/nvim/autoload/repos/github.com/Shougo/dein.vim
  8.  
  9. " Required:
  10. call dein#begin('/Users/pb/.config/nvim/autoload/')
  11.  
  12. " Let dein manage dein
  13. " Required:
  14. call dein#add('Shougo/dein.vim')
  15.  
  16. " Add or remove your plugins here:
  17. call dein#add('neomake/neomake')
  18. call dein#add('scrooloose/nerdtree', {'on_cmd': 'NERDTreeToggle'})
  19. call dein#add('jistr/vim-nerdtree-tabs')
  20. call dein#add('Shougo/neosnippet.vim')
  21. call dein#add('Shougo/neosnippet-snippets')
  22. call dein#add('jiangmiao/auto-pairs')
  23. call dein#add('mhartington/nvim-typescript',{'build': './install.sh'})
  24. "call dein#add('roxma/nvim-completion-manager')
  25. call dein#add('Shougo/deoplete.nvim')
  26. call dein#add('roxma/ncm-flow')
  27. call dein#add('bling/vim-airline')
  28. call dein#add('tpope/vim-fugitive')
  29. call dein#add('airblade/vim-gitgutter')
  30. call dein#add('cloudhead/neovim-fuzzy')
  31.  
  32. call dein#add('pangloss/vim-javascript')
  33. call dein#add('HerringtonDarkholme/yats.vim')
  34. call dein#add('fatih/vim-go')
  35. call dein#add('mattn/emmet-vim')
  36. call dein#add('flowtype/vim-flow')
  37. call dein#add('othree/es.next.syntax.vim')
  38.  
  39. " Required:
  40. call dein#end()
  41.  
  42. " Required:
  43. filetype plugin indent on
  44. syntax enable
  45.  
  46. " If you want to install not installed plugins on startup.
  47. if dein#check_install()
  48. call dein#install()
  49. endif
  50.  
  51. if (empty($TMUX))
  52. if (has("nvim"))
  53. let $NVIM_TUI_ENABLE_TRUE_COLOR=1
  54. endif
  55. if (has("termguicolors"))
  56. set termguicolors
  57. endif
  58. endif
  59.  
  60. colorscheme onedark
  61.  
  62. "End dein Scripts-------------------------
  63. set backspace=indent,eol,start
  64. set hlsearch
  65. set backspace=indent,eol,start
  66. set visualbell
  67. set noswapfile
  68. set nobackup
  69. set nowb
  70. silent !mkdir ~/.vim/backups > /dev/null 2>&1
  71. set undodir=~/.vim/backups
  72. set undofile
  73. set shiftwidth=4
  74. set softtabstop=4
  75. set tabstop=4
  76. set expandtab
  77. set nowrap
  78. set guioptions-=l
  79. set guioptions-=r
  80. set guioptions-=b
  81. set colorcolumn=120
  82. set statusline+=%{exists('g:loaded_fugitive')?fugitive#statusline():''}
  83. set statusline+=%#warningmsg#
  84. set statusline+=%*
  85. set completeopt-=preview
  86. set cb=unnamed
  87. set shortmess+=c
  88.  
  89. map <C-n> :NERDTreeToggle<CR>
  90. imap <C-k> <Plug>(neosnippet_expand_or_jump)
  91. smap <C-k> <Plug>(neosnippet_expand_or_jump)
  92. xmap <C-k> <Plug>(neosnippet_expand_target)
  93. nnoremap <C-p> :FuzzyOpen<CR>
  94.  
  95. set completeopt+=noselect
  96.  
  97. let g:python3_host_prog = '/usr/local/bin/python3'
  98. let g:python3_host_skip_check = 1
  99. let g:flow#autoclose = 1
  100. let g:deoplete#enable_at_startup = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement