commit 050b039091898c063095ba139af44d39cba49312
parent 58ce5d04ea70822bccc6d86d6ee273b7446b7ad2
Author: Alex Balgavy <alex@balgavy.eu>
Date: Sat, 19 Jun 2021 22:39:15 +0200
vim: misc config
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -136,6 +136,9 @@ Plug 'thezeroalpha/vim-visualrun'
" Select files with LF
Plug 'thezeroalpha/vim-lf'
+" Literate programming in Markdown
+Plug 'thezeroalpha/vim-literate-markdown'
+
" Lightweight REPL
Plug 'axvr/zepl.vim'
@@ -412,7 +415,7 @@ let g:repl_config = {
\ 'load_file': 'from %s import *'
\ },
\ 'javascript': { 'cmd': 'node' },
- \ 'ruby': { 'cmd': 'irb' },
+ \ 'ruby': { 'cmd': 'irb', 'load_file': 'load "%s"' },
\ 'r': { 'cmd': 'R' }
\ }
nnoremap gzr :Repl<CR>