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

Exit gracefully #18

Closed
naknode opened this issue Apr 28, 2020 · 4 comments
Closed

Exit gracefully #18

naknode opened this issue Apr 28, 2020 · 4 comments

Comments

@naknode
Copy link

naknode commented Apr 28, 2020

Is there a keymap where, after you're done using the DBUI... you want to leave the query results, toggle (presumedly) the drawer closed and delete the query buffer so you're back to the file you were previously at?

I mean I could automate a script to do this but perhaps this can be a nice default?

@kristijanhusak
Copy link
Owner

I guess we could have an option for that. Did you try to do it youself, do you have something already for it?

@kristijanhusak
Copy link
Owner

In this situation, I think the simplest thing to do would be to open up a new tab. Once you're finished, just close the tab and you're good to go.

@naknode
Copy link
Author

naknode commented Apr 29, 2020

True. A simple vim keybind and you'd be good to go.

@naknode naknode closed this as completed Apr 29, 2020
@kristijanhusak
Copy link
Owner

@naknode I added support for <mods> (:help <mods>), which means that you can open up dbui in new tab like this:

:tab DBUI

Hope this helps.

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