Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Vim-Plug Plugins
- call plug#begin('~/.local/share/nvim/plugged')
- Plug 'scrooloose/nerdtree'
- Plug 'jalvesaq/Nvim-R'
- Plug 'ncm2/ncm2'
- Plug 'roxma/nvim-yarp'
- Plug 'gaalcaras/ncm-R'
- Plug 'tpope/vim-fugitive'
- Plug 'tpope/vim-surround'
- Plug 'tpope/vim-sensible'
- Plug 'rafi/awesome-vim-colorschemes'
- call plug#end()
- map <silent> <C-n> :NERDTreeFocus<CR>
- " Use ctrl-[hjkl] to select the active split!
- nmap <silent> <c-k> :wincmd k<CR>
- nmap <silent> <c-j> :wincmd j<CR>
- nmap <silent> <c-h> :wincmd h<CR>
- nmap <silent> <c-l> :wincmd l<CR>
- " Activate Mouse
- set mouse=a
- " Press the space bar to send lines and selection to R console
- vmap <Space> <Plug>RDSendSelection
- nmap <Space> <Plug>RDSendLine
- " Set theme
- colo minimalist
- " Turn off Syntactical Error Highlighting
- " au ColorScheme * hi Error NONE
- hi Error NONE
- " Set Tabs Properly
- set ts=2
- set sw=2
- " Require double underscore to type <- in Nvim-R
- let R_assign=2
- " Set column-marker at 80
- set colorcolumn=80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement