looking promising

This commit is contained in:
Till 2023-05-13 12:36:39 +02:00
parent 0885630404
commit 3897717e23
5 changed files with 97 additions and 1 deletions

6
home/nvim/ftplugin/r.vim Normal file
View file

@ -0,0 +1,6 @@
nnoremap <localleader>i :! R CMD INSTALL `git rev-parse --show-toplevel`<cr>
nnoremap <localleader>d :! R -e "devtools::document()"<cr>
nnoremap <localleader>t :! R -e "devtools::test()"<cr>
" nnoremap <localleader>rl :vsplit \| :terminal R<cr><c-w><c-w>
nnoremap <localleader>rl :silent exec "! tmux source-file ~/.config/tmux/rloft.conf"<cr>