Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command similar to :YRShow? #50

Open
axelson opened this issue Dec 11, 2014 · 4 comments
Open

Command similar to :YRShow? #50

axelson opened this issue Dec 11, 2014 · 4 comments

Comments

@axelson
Copy link

axelson commented Dec 11, 2014

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.

@maxbrunsfeld
Copy link
Owner

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

@axelson
Copy link
Author

axelson commented Dec 11, 2014

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

@maxbrunsfeld
Copy link
Owner

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.

@axelson
Copy link
Author

axelson commented Dec 11, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants