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