diff --git a/nix/modules/home-manager/features/cli/neovim.nix b/nix/modules/home-manager/features/cli/neovim.nix index afee38f..5fcca72 100644 --- a/nix/modules/home-manager/features/cli/neovim.nix +++ b/nix/modules/home-manager/features/cli/neovim.nix @@ -44,6 +44,7 @@ in # Testing vim-test + vimux # Git vim-fugitive diff --git a/nvim/plugin/vim-test.lua b/nvim/plugin/vim-test.lua index 0526070..26aaf70 100644 --- a/nvim/plugin/vim-test.lua +++ b/nvim/plugin/vim-test.lua @@ -12,13 +12,5 @@ set("n", "ts", ":TestSuite", options) vim.cmd [[ let test#php#phpunit#options = '--colors=always --testdox' - - function! TmuxStrategy(cmd) - let l:escaped_cmd = substitute(a:cmd, ' ', '\\ ', 'g') - - execute 'silent !tmux send-keys -t .bottom ' . l:escaped_cmd . ' Enter' - endfunction - - let g:test#custom_strategies = {'tmux': function('TmuxStrategy')} - let g:test#strategy = 'tmux' + let g:test#strategy = 'vimux' ]]