Advertisement
KShah

Untitled

Nov 11th, 2021
927
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. call plug#begin('~/.vim/plugged')
  2.  
  3. Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }
  4.  
  5. Plug 'neoclide/coc.nvim', {'branch': 'release'}
  6. "Plug 'Valloric/YouCompleteMe'
  7. Plug 'jiangmiao/auto-pairs'
  8.  
  9. Plug 'gisphm/vim-gitignore'
  10.  
  11. "colorschemes
  12. Plug 'morhetz/gruvbox'
  13.  
  14. call plug#end()
  15.  
  16. syntax on
  17. colorscheme gruvbox
  18. set background=dark
  19.  
  20. set nocompatible
  21. set encoding=utf-8
  22. set vb t_vb=
  23. set novisualbell
  24.  
  25. set tabstop=4
  26. set shiftwidth=4
  27. set smarttab
  28. set smartindent
  29. set et
  30.  
  31. set mouse=a
  32. set number
  33. set noswapfile
  34.  
  35. set colorcolumn=80
  36. highlight ColorColumn ctermbg=black
  37. autocmd VimEnter * NERDTree
  38.  
  39.  
  40. " mappings
  41. map <C-n> :NERDTreeToggle<CR>
  42. inoremap <C-v> <ESC> "+pa
  43. vnoremap <C-c> "+y
  44. vnore <C-d> "+d
  45. map <C-a> ggVG
  46.  
  47.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement