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

Feature idea: execute keystrokes upon exiting wasavi #229

Open
jjhart opened this issue Jun 10, 2022 · 0 comments
Open

Feature idea: execute keystrokes upon exiting wasavi #229

jjhart opened this issue Jun 10, 2022 · 0 comments

Comments

@jjhart
Copy link

jjhart commented Jun 10, 2022

Thank you so much for wasavi - it is fantastic, and a bunch of people on my team have adopted it since we discovered it last week.

It would be great to configure a key sequence to execute in the browser context after wasavi exits.

As an example, I'm using wasavi mostly to execute complicated search queries. When I exit wasavi, about 99% of the time I immediately hit Cmd-Enter to submit my newly edited text back to the server.

This could be configured within wasavi's "manage" page, or - even better- directly within exrc as keystrokes to be executed by the plugin when the editing window exits. Something like this:

" control-enter to save-and-exit-wasavi & then send alt-enter to the browser
map <C-enter> :wq<enter><D-enter>
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

1 participant