Set up vim-slime for tmux

master
Hektor Misplon 2020-11-02 11:53:18 +01:00
parent abffd23bf9
commit 72120e0ce8
1 changed files with 13 additions and 2 deletions

15
.vimrc
View File

@ -149,11 +149,13 @@ let g:coc_global_extensions = [
\'coc-snippets' \'coc-snippets'
\] \]
" Plugin: TidalCycles
Plug 'supercollider/scvim' Plug 'supercollider/scvim'
Plug 'tidalcycles/vim-tidal' Plug 'tidalcycles/vim-tidal'
" Plugin: Scheme
"
Plug 'jpalardy/vim-slime'
call plug#end() call plug#end()
" Plugin config ________________________ " Plugin config ________________________
@ -217,6 +219,15 @@ let g:tidal_default_config = {"socket_name": "default", "target_pane": "tidal:1.
let g:hardtime_default_on = 1 let g:hardtime_default_on = 1
let g:hardtime_maxcount = 4 let g:hardtime_maxcount = 4
" Plugin: vim-slime
let g:slime_default_config={'socket_name': 'default', 'target_pane': '{right-of}'}
let g:slime_paste_file=tempname()
let g:slime_target='tmux'
let g:slime_no_mappings = 1
xmap <leader>el <Plug>SlimeRegionSend
nmap <leader>ep <Plug>SlimeParagraphSend
" Plugin keybindings ___________________ " Plugin keybindings ___________________
" Plugin: fzf " Plugin: fzf