diff options
Diffstat (limited to '.config/nvim')
-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 a9bdcc0..9263265 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' |
@@ -138,6 +140,12 @@ endfunction | |||
138 | 140 | ||
139 | "{{{Misc Settings | 141 | "{{{Misc Settings |
140 | 142 | ||
143 | let g:slime_target = "tmux" | ||
144 | let g:slime_paste_file = "$HOME/.slime_paste" | ||
145 | let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"} | ||
146 | let g:slime_no_mappings = 1 | ||
147 | nmap <C-CR> <Plug>SlimeParagraphSend | ||
148 | |||
141 | " Use deoplete. | 149 | " Use deoplete. |
142 | let g:deoplete#enable_at_startup = 1 | 150 | let g:deoplete#enable_at_startup = 1 |
143 | 151 | ||