summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/init.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 8607631..f8a0938 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -40,6 +40,12 @@ Plugin 'powerman/vim-plugin-ruscmd.git'
" Recutils support
Plugin 'zaid/vim-rec'
+" Guix
+Plugin 'https://gitlab.com/Efraim/guix.vim'
+
+" Repl
+Plugin 'https://gitlab.com/HiPhish/repl.nvim.git'
+
" Common-Lisp
" Plugin 'vlime/vlime', {'rtp': 'vim/'}
@@ -185,6 +191,17 @@ highlight ColorColumn ctermbg=DarkGrey guibg=#262626
:tnoremap <F1> <C-\><C-n>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" REPL: repl.vim:
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Send the text of a motion to the REPL
+nmap <leader>rs <Plug>(ReplSend)
+" Send the current line to the REPL
+nmap <leader>rss <Plug>(ReplSendLine)
+nmap <leader>rs_ <Plug>(ReplSendLine)
+" Send the selected text to the REPL
+vmap <leader>rs <Plug>(ReplSend)
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
" Different config for each filetype
filetype plugin on