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

Add more quit options #259

Merged
merged 2 commits into from
Jun 16, 2021
Merged

Add more quit options #259

merged 2 commits into from
Jun 16, 2021

Conversation

sayanarijit
Copy link
Owner

@sayanarijit sayanarijit commented Jun 15, 2021

Adds the following messages:

  • PrintPwdAndQuit
  • PrintFocusPathAndQuit
  • PrintSelectionAndQuit

And key bindings:

:q<enter> -> Quit.
:qp -> PrintPwdAndQuit.
:qf -> PrintFocusPathAndQuit.
:qs -> PrintSelectionAndQuit.
:qr -> PrintResultAndQuit.

Closed: #257

Adds the following messages.

- PrintPwdAndQuit
- PrintFocusPathAndQuit
- PrintSelectionAndQuit

Closed: #257
@sayanarijit sayanarijit force-pushed the add/more-quit-options branch 2 times, most recently from b41e214 to 21ebe0e Compare June 15, 2021 12:47
@sayanarijit
Copy link
Owner Author

@maximbaz, @lmburns does this look good?

@maximbaz
Copy link
Contributor

maximbaz commented Jun 15, 2021

I'll test soon, but from the looks of it, yeah looks good! Dont forget to update init.lua, e.g. what would be a default binding for Enter? Nevermind, I thought for some reason that "PrintResultAndQuit" is getting removed 🙂

@maximbaz
Copy link
Contributor

It's awesome 🙂

@sayanarijit
Copy link
Owner Author

Added key bindings:

:q<enter> -> Just quit.
:qp -> quit printing pwd.
:qf -> quit printing focus.
:qs -> quit printing selection.
:qr -> quit printing result.

`:q<enter>` -> Just quit.
`:qp` -> quit printing pwd.
`:qf` -> quit printing focus.
`:qs` -> quit printing selection.
`:qr` -> quit printing result.

Ref: #257
@sayanarijit sayanarijit merged commit f6d1be6 into main Jun 16, 2021
@sayanarijit sayanarijit deleted the add/more-quit-options branch June 16, 2021 08:29
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

Successfully merging this pull request may close these issues.

Implement PrintPwdAndQuit
2 participants