summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2020-05-14 19:56:10 +0300
committerYigit Sever2020-05-14 19:56:10 +0300
commit2272c6707b2771986df2983bf559759d202b7a31 (patch)
tree4bae4586aa2fa9a786e8dc940fef43b290145587
parenta19537aad29e3993172d3df065acd23ac1b26a3d (diff)
downloaddotfiles-2272c6707b2771986df2983bf559759d202b7a31.tar.gz
dotfiles-2272c6707b2771986df2983bf559759d202b7a31.tar.bz2
dotfiles-2272c6707b2771986df2983bf559759d202b7a31.zip
WIP vim slime changes
-rwxr-xr-x.config/nvim/init.vim8
1 files changed, 8 insertions, 0 deletions
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'
19Plug 'ludovicchabant/vim-gutentags' 19Plug 'ludovicchabant/vim-gutentags'
20" run tests (todo: write tests) 20" run tests (todo: write tests)
21Plug 'janko/vim-test' 21Plug 'janko/vim-test'
22" type in file send to repl
23Plug 'jpalardy/vim-slime'
22 24
23" snippets to expand 25" snippets to expand
24Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets' 26Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
@@ -136,6 +138,12 @@ endfunction
136 138
137"{{{Misc Settings 139"{{{Misc Settings
138 140
141let g:slime_target = "tmux"
142let g:slime_paste_file = "$HOME/.slime_paste"
143let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"}
144let g:slime_no_mappings = 1
145nmap <C-CR> <Plug>SlimeParagraphSend
146
139" Use deoplete. 147" Use deoplete.
140let g:deoplete#enable_at_startup = 1 148let g:deoplete#enable_at_startup = 1
141 149