jainbot27

VIMRC

Sep 12th, 2020
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.85 KB | None | 0 0
  1. set tabstop=4
  2. set nocompatible
  3. set shiftwidth=4
  4. set expandtab
  5. set autoindent
  6. set smartindent
  7. set ruler
  8. set rnu!
  9. set showcmd
  10. set incsearch
  11. set number
  12. set cino+=L0
  13. syntax on
  14. filetype indent on
  15. inoremap {<CR>  {<CR>}<Esc>O
  16. imap jk         <Esc>
  17. set belloff=all
  18. autocmd BufNewFile *.cpp 0r C:\Users\Atharv Jain\Desktop\CompetitiveProgramming\Library\template.cpp
  19. cd Desktop\CompetitiveProgramming
  20. call plug#begin()
  21. Plug 'tpope/vim-commentary'
  22. Plug 'w0rp/ale'
  23. Plug 'vim-airline/vim-airline'
  24. Plug 'octol/vim-cpp-enhanced-highlight'
  25. Plug 'morhetz/gruvbox'
  26. call plug#end()
  27. let g:conoline_use_colorscheme_default_insert=1
  28. set bg=dark
  29. colo gruvbox
  30. autocmd filetype cpp nnoremap <F9> :w <bar> !g++ -std=c++17 % -o %:r -DD -Wall -Wextra <CR>
  31. autocmd filetype cpp nnoremap <F10> :!%:r<CR>
  32. set backspace=indent,eol,start
  33. set guifont=JetBrains_Mono:h10:b
  34.  
  35.  
Advertisement
Add Comment
Please, Sign In to add comment