Advertisement
bogdb

vimrc

Apr 5th, 2018
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.20 KB | None | 0 0
  1. set nocompatible
  2. set gfn=PragmataPro\ 13
  3. " filetype func off
  4. filetype off
  5.  
  6. set backspace=indent,eol,start " allow backspacing over everything in insert mode
  7. set linespace=2
  8. set expandtab
  9. set nu
  10. set autoindent
  11. set ruler
  12. set showcmd
  13. set incsearch
  14. set wrap linebreak nolist
  15.  
  16. map <F2> :w!<CR>
  17. map <F3> :NERDTreeToggle<CR>
  18. map <F4> :bdelete<CR>
  19. map <F5> :bprevious<CR>
  20. map <F6> :bnext<CR>
  21.  
  22. if has('gui_running')
  23.         syntax on
  24.         set guioptions-=m
  25.         set guioptions-=T
  26. endif
  27.  
  28. " initialize vundle
  29. set rtp+=~/.vim/bundle/Vundle.vim
  30.  
  31. call vundle#begin()
  32. " start- all plugins below
  33.  
  34. Plugin 'VundleVim/Vundle.vim'
  35. Plugin 'morhetz/gruvbox'
  36. Plugin 'scrooloose/nerdtree'
  37. Plugin 'flazz/vim-colorschemes'
  38. Plugin 'vim-airline/vim-airline'
  39. Plugin 'vim-airline/vim-airline-themes'
  40. Plugin 'vim-syntastic/syntastic'
  41. Plugin 'Valloric/YouCompleteMe'
  42. Plugin 'lervag/vimtex'
  43.  
  44. set laststatus=2
  45.  
  46. " vimtex config
  47.  
  48. let g:vimtex_view_method = 'mupdf'
  49. let g:vimtex_view_general_viewer='mupdf'
  50.  
  51. " stop - all plugins above
  52. call vundle#end()
  53.  
  54. " filetype func on
  55. filetype plugin indent on
  56.  
  57. " set color
  58. colorscheme inkpot
  59. set background=dark
  60.  
  61. " do not load ycm
  62. let g:loaded_youcompleteme = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement