aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/slime.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/slime.vim')
-rw-r--r--.vim/after/plugin/slime.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/.vim/after/plugin/slime.vim b/.vim/after/plugin/slime.vim
new file mode 100644
index 0000000..3a48656
--- /dev/null
+++ b/.vim/after/plugin/slime.vim
@@ -0,0 +1,12 @@
+let g:slime_no_mappings = 1
+
+xmap <leader>gz <Plug>SlimeRegionSend
+nmap <leader>gz <Plug>SlimeLineSend
+
+let g:slime_target = 'vimterminal'
+let g:slime_vimterminal_config =
+ \{'term_finish': 'close'}
+
+autocmd FileType python let g:slime_vimterminal_cmd = 'python3'
+
+packadd vim-slime