You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would solve #119 nicely - instead of changing anything, one could map the function OpenGithubProject to the operator gx and then simply type gxi' to open the project currently under the cursor. Of course this specific example applies to the derivative open-browser-github plugin, but it could be used in any way - you could search whole paragraphs or full WORDS.
The text was updated successfully, but these errors were encountered:
This is a great idea. For what it's worth, I already augment the behaviour of this plugin by adding this in a ~/.vim/after/plugin/open-browser.vim file:
What I would like to do - maybe the plugin already supports this, but I at least couldn't find anything in the help - is mapping the commands as operators, similar to how it is done here: https://www.reddit.com/r/vim/comments/ebaoku/function_to_google_any_text_object/
This would solve #119 nicely - instead of changing anything, one could map the function
OpenGithubProject
to the operatorgx
and then simply typegxi'
to open the project currently under the cursor. Of course this specific example applies to the derivative open-browser-github plugin, but it could be used in any way - you could search whole paragraphs or full WORDS.The text was updated successfully, but these errors were encountered: