From ffa746ed68a2eae085bc6cee30777fb48b83fcda Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Thu, 30 Jun 2022 17:45:18 +0100 Subject: [PATCH] Add vim-slime plugin and configuration, setup to use tmux --- .gitmodules | 3 +++ pack/plugins/start/vim-slime | 1 + vimrc | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 pack/plugins/start/vim-slime diff --git a/.gitmodules b/.gitmodules index 2064cc7f..940502d3 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/pack/plugins/start/vim-slime b/pack/plugins/start/vim-slime new file mode 160000 index 00000000..93d20227 --- /dev/null +++ b/pack/plugins/start/vim-slime @@ -0,0 +1 @@ +Subproject commit 93d202278004fbc8eb3ec9d734916214e6c7f034 diff --git a/vimrc b/vimrc index 751a9622..0a22a116 100644 --- a/vimrc +++ b/vimrc @@ -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