Set slime tmux defaults

master
Hektor Misplon 2020-11-02 18:06:59 +01:00
parent 9c5c991e83
commit ac079c48b3
1 changed files with 2 additions and 1 deletions

3
.vimrc
View File

@ -227,7 +227,8 @@ let g:hardtime_maxcount = 4
" Plugin: vim-slime
let g:slime_default_config={'socket_name': 'default', 'target_pane': '{right-of}'}
let g:slime_default_config={"socket_name": get(split($TMUX, ","), 0), "target_pane": '{last}'}
let g:slime_dont_ask_default = 1
let g:slime_paste_file=tempname()
let g:slime_target='tmux'
let g:slime_no_mappings = 1