nvim-R
This commit is contained in:
parent
45b77a57ac
commit
261fae30a9
@ -16,11 +16,12 @@ Plug 'lukesmithxyz/vimling'
|
|||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'tpope/vim-commentary'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'master', 'commit': '2ad659d8b1a3d7bef7dca7d33c6ab9363a729100', 'do': 'yarn install --frozen-lockfile'}
|
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'yarn install --frozen-lockfile'}
|
||||||
Plug 'ap/vim-css-color'
|
Plug 'ap/vim-css-color'
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
Plug 'arcticicestudio/nord-vim'
|
Plug 'arcticicestudio/nord-vim'
|
||||||
Plug 'rhysd/vim-grammarous'
|
Plug 'rhysd/vim-grammarous'
|
||||||
|
Plug 'jalvesaq/Nvim-R', {'branch': 'stable'}
|
||||||
Plug 'da-h/AirLatex.vim', {'do': ':UpdateRemotePlugins'}
|
Plug 'da-h/AirLatex.vim', {'do': ':UpdateRemotePlugins'}
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
@ -35,7 +36,6 @@ set noruler
|
|||||||
set laststatus=0
|
set laststatus=0
|
||||||
set noshowcmd
|
set noshowcmd
|
||||||
set undofile
|
set undofile
|
||||||
|
|
||||||
colorscheme nord
|
colorscheme nord
|
||||||
|
|
||||||
" Some basics:
|
" Some basics:
|
||||||
@ -68,6 +68,15 @@ colorscheme nord
|
|||||||
let NERDTreeBookmarksFile = '~/.vim' . '/NERDTreeBookmarks'
|
let NERDTreeBookmarksFile = '~/.vim' . '/NERDTreeBookmarks'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Nvim-R Defintions for R IDE
|
||||||
|
let g:R_assign = 3 " do (not) map _ to <- for assignment
|
||||||
|
vmap <Space> <Plug>RDSendSelection
|
||||||
|
nmap <Space> <Plug>RDSendLine
|
||||||
|
let R_nvimpager = 'tab' " display R docs in new tab
|
||||||
|
let R_start_libs = 'base,stats,graphics,grDevices,utils,methods'
|
||||||
|
let R_hl_term = 0
|
||||||
|
" let Rout_more_colors = 1
|
||||||
|
|
||||||
" AirLatex
|
" AirLatex
|
||||||
" your login-name
|
" your login-name
|
||||||
let g:AirLatexUsername="cookies:overleaf_session2=s%3A0TKey254b9595rC63gLQZsvRwg9b9564.CwNUf292zMuPmgNPAZ4z%2FOgLBTDk2ynd%2BgmPXJXmuYE"
|
let g:AirLatexUsername="cookies:overleaf_session2=s%3A0TKey254b9595rC63gLQZsvRwg9b9564.CwNUf292zMuPmgNPAZ4z%2FOgLBTDk2ynd%2BgmPXJXmuYE"
|
||||||
@ -139,7 +148,7 @@ let g:vimtex_compiler_latexmk = { 'build_dir' : '',
|
|||||||
autocmd VimLeave *.tex !texclear %
|
autocmd VimLeave *.tex !texclear %
|
||||||
|
|
||||||
" Ensure files are read as what I want:
|
" Ensure files are read as what I want:
|
||||||
let g:vimwiki_ext2syntax = {'.Rmd': 'markdown', '.rmd': 'markdown','.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'}
|
let g:vimwiki_ext2syntax = {'.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'}
|
||||||
map <leader>v :VimwikiIndex
|
map <leader>v :VimwikiIndex
|
||||||
let g:vimwiki_list = [{'path': '~/vimwiki', 'syntax': 'markdown', 'ext': '.md'}]
|
let g:vimwiki_list = [{'path': '~/vimwiki', 'syntax': 'markdown', 'ext': '.md'}]
|
||||||
autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown
|
autocmd BufRead,BufNewFile /tmp/calcurse*,~/.calcurse/notes/* set filetype=markdown
|
||||||
|
Loading…
Reference in New Issue
Block a user