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 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 | ||