vim-yankstack icon indicating copy to clipboard operation
vim-yankstack copied to clipboard

Command similar to :YRShow?

Open axelson opened this issue 11 years ago • 4 comments

I am looking to move over to yankstack from yankring and I wanted to know if there's a command similar to :YRShow. :YRShow shows the current contents of the yankring/stack and allows you to choose which one you want to paste. So similar to :Yanks but allowing you to choose which one to paste.

axelson avatar Dec 11 '14 18:12 axelson

No, there isn't. I'd definitely welcome a pull request to add such functionality!

maxbrunsfeld avatar Dec 11 '14 18:12 maxbrunsfeld

I might be able to take a stab at it at some point, are there any instructions on running rspec via vimbot?

axelson avatar Dec 11 '14 19:12 axelson

You should be able to clone the repo, bundle install to install the ruby gems, and bundle exec rspec to run the tests. I'll help troubleshoot if you come across any issues.

maxbrunsfeld avatar Dec 11 '14 19:12 maxbrunsfeld

The rspec tests all fail, apparently because vim --servername fails. I installed vim via homebrew.

/Users/jason/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/bundler/gems/vimbot-489cb3283a89/lib/vimbot/server.rb:68:inset_vim_binary': Couldn't find a vim binary that supports client-server mode (Vimbot::NoCompatibleVim)`

Okay, so apparently homebrew doesn't install vim with client-server by default. I uninstalled vim, then installed with brew install vim --with-client-server. But when I run bundle exec rspec it launches vim and just sits there. If I close vim, then it just sits there running bundle exec rspec. It's possible I may need to log out to finish my installation of xquartz, I'll check that later.

axelson avatar Dec 11 '14 20:12 axelson