Add vim-slime plugin and configuration, setup to use tmux

This commit is contained in:
Edward Litherland-Smith 2022-06-30 17:45:18 +01:00
parent aca798569d
commit ffa746ed68
3 changed files with 7 additions and 0 deletions

3
.gitmodules vendored
View file

@ -68,3 +68,6 @@
[submodule "pack/plugins/start/vim-surround"]
path = pack/plugins/start/vim-surround
url = git@github.com:tpope/vim-surround.git
[submodule "pack/plugins/start/vim-slime"]
path = pack/plugins/start/vim-slime
url = git@github.com:jpalardy/vim-slime.git

@ -0,0 +1 @@
Subproject commit 93d202278004fbc8eb3ec9d734916214e6c7f034

3
vimrc
View file

@ -85,6 +85,9 @@ function! GitStatus()
return printf('%s +%d ~%d -%d', FugitiveHead(), a, m, r)
endfunction
let g:slime_target = "tmux"
let g:slime_default_config = {"socket_name": get(split($TMUX, ","), 0), "target_pane": "{last}"}
let g:netrw_list_hide= '\(^\|\s\s\)\zs\.\S\+'
let g:python_highlight_all = 1