commit 5e6aaa8e48cae13caebdc7516d089d5987f6ddeb
parent 2134ef9dd3873e67f5b71275778554b1edbe9d85
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 24 Feb 2021 00:03:40 +0100
vim: add zepl command for R
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -411,6 +411,7 @@ augroup zepl
autocmd FileType javascript let b:repl_config = { 'cmd': 'node' }
autocmd FileType haskell let b:repl_config = { 'cmd': 'ghci' }
autocmd FileType ruby let b:repl_config = { 'cmd': 'irb' }
+ autocmd FileType r let b:repl_config = { 'cmd': 'R' }
augroup END
nnoremap gzr :Repl<CR>
" Medieval {{{3