```ruby
require 'vimrunner'
require 'vimrunner/rspec'
require_relative './support/vim'

Vimrunner::RSpec.configure do |config|
  config.reuse_server = true

  plugin_path = File.expand_path('.')

  config.start_vim do
    vim = Vimrunner.start
    vim.add_plugin(plugin_path, 'plugin/splitjoin.vim')
    vim
  end
end

RSpec.configure do |config|
  config.include Support::Vim
end
```

Use GUI vim for tests
user
```ruby
require 'vimrunner'
require 'vimrunner/rspec'
require_relative './support/vim'

Vimrunner::RSpec.configure do |config|
  config.reuse_server = true

  plugin_path = File.expand_path('.')

  config.start_vim do
    vim = Vimrunner.start_gvim
    vim.add_plugin(plugin_path, 'plugin/splitjoin.vim')
    vim
  end
end

RSpec.configure do |config|
  config.include Support::Vim
end
```
assistant