From 540a73148c03df899191b30440c9ce50463cf6af Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Fri, 22 Oct 2021 13:27:13 +0200 Subject: [PATCH] nvim: neoterm: init --- nvim/.config/nvim/init.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 108ee21..961ce03 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -19,6 +19,9 @@ Plug 'neovim/nvim-lspconfig' " Colors Plug 'jeffkreeftmeijer/vim-dim' +" Slimey stuff +Plug 'kassio/neoterm' + call plug#end() " Incrementally show effects of :s, :smagic, :snomagic @@ -93,3 +96,13 @@ let g:tex_conceal = '' " vim-pandoc really tries to be 'user-friendly'... let g:pandoc#modules#disabled = [ "spell", "folding" ] + +" neoterm +let g:neoterm_default_mod='belowright' " open terminal in bottom split +let g:neoterm_size=19 " terminal split size +let g:neoterm_autoscroll=1 " scroll to the bottom when running a command +" REPL interaction +nnoremap :TREPLSendLinej +vnoremap :TREPLSendSelection +" R REPL +nnoremap tr :T R