Advertisement
Guest User

Untitled

a guest
Feb 11th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.98 KB | None | 0 0
  1. " Vim-Plug Plugins
  2. call plug#begin('~/.local/share/nvim/plugged')
  3. Plug 'scrooloose/nerdtree'
  4. Plug 'jalvesaq/Nvim-R'
  5. Plug 'ncm2/ncm2'
  6. Plug 'roxma/nvim-yarp'
  7. Plug 'gaalcaras/ncm-R'
  8. Plug 'tpope/vim-fugitive'
  9. Plug 'tpope/vim-surround'
  10. Plug 'tpope/vim-sensible'
  11. Plug 'rafi/awesome-vim-colorschemes'
  12. call plug#end()
  13.  
  14. map <silent> <C-n> :NERDTreeFocus<CR>
  15.  
  16. " Use ctrl-[hjkl] to select the active split!
  17. nmap <silent> <c-k> :wincmd k<CR>
  18. nmap <silent> <c-j> :wincmd j<CR>
  19. nmap <silent> <c-h> :wincmd h<CR>
  20. nmap <silent> <c-l> :wincmd l<CR>
  21.  
  22. " Activate Mouse
  23. set mouse=a
  24.  
  25. " Press the space bar to send lines and selection to R console
  26. vmap <Space> <Plug>RDSendSelection
  27. nmap <Space> <Plug>RDSendLine
  28.  
  29. " Set theme
  30. colo minimalist
  31.  
  32. " Turn off Syntactical Error Highlighting
  33. " au ColorScheme * hi Error NONE
  34. hi Error NONE
  35.  
  36. " Set Tabs Properly
  37. set ts=2
  38. set sw=2
  39.  
  40. " Require double underscore to type <- in Nvim-R
  41. let R_assign=2
  42.  
  43. " Set column-marker at 80
  44. set colorcolumn=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement