init.vim 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. " Vundle setup.
  2. filetype off
  3. set rtp+=~/.config/nvim/Vundle.vim
  4. call vundle#begin('~/.config/nvim')
  5. Plugin 'VundleVim/Vundle.vim'
  6. Plugin 'chriskempson/base16-vim'
  7. Plugin 'pangloss/vim-javascript'
  8. Plugin 'elzr/vim-json'
  9. Plugin 'rust-lang/rust.vim'
  10. Plugin 'tpope/vim-fugitive'
  11. Plugin 'tpope/vim-surround'
  12. Plugin 'tpope/vim-commentary'
  13. Plugin 'tpope/vim-speeddating'
  14. "Plugin 'w0rp/ale'
  15. Plugin 'ycm-core/YouCompleteMe'
  16. call vundle#end()
  17. filetype plugin indent on
  18. "set clipboard+=autoselect
  19. set clipboard+=unnamed
  20. set background=dark
  21. " Enable base16 swatch-based colour theme.
  22. set termguicolors
  23. "colorscheme base16-black-metal-bathory
  24. "colorscheme base16-atelier-savanna
  25. "colorscheme base16-3024
  26. "colorscheme base16-twilight
  27. "colorscheme base16-eighties
  28. "colorscheme base16-mocha
  29. "colorscheme base16-nord
  30. colorscheme base16-ia-dark
  31. set ruler
  32. set expandtab
  33. set shiftwidth=2
  34. " YouCompleteMe config
  35. :noremap <C-_> :YcmCompleter GoTo<CR>
  36. "
  37. "let g:ycm_rust_src_path = '/Users/giles/rust/src'
  38. "let g:ycm_extra_conf_globlist = ['~/firefox/*']
  39. let g:ycm_extra_conf_globlist = ['~/brave-browser/*', '~/firefox/*']