From 2272c6707b2771986df2983bf559759d202b7a31 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 14 May 2020 19:56:10 +0300 Subject: WIP vim slime changes --- .config/nvim/init.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.config/nvim') diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 36e62c0..6da4d39 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -19,6 +19,8 @@ Plug 'dense-analysis/ale' Plug 'ludovicchabant/vim-gutentags' " run tests (todo: write tests) Plug 'janko/vim-test' +" type in file send to repl +Plug 'jpalardy/vim-slime' " snippets to expand Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' @@ -136,6 +138,12 @@ endfunction "{{{Misc Settings +let g:slime_target = "tmux" +let g:slime_paste_file = "$HOME/.slime_paste" +let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} +let g:slime_no_mappings = 1 +nmap SlimeParagraphSend + " Use deoplete. let g:deoplete#enable_at_startup = 1 -- cgit v1.2.3-70-g09d2