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

feat: add focus_on_create option #448

Merged
merged 3 commits into from
Nov 4, 2023
Merged

Conversation

Akmadan23
Copy link
Contributor

This is a nice feature that I felt was missing, I chose to enable it by default because in my opinion it just makes sense, but we can also change it to be false by default if you prefer. We can also change the option name, focus_on_create is the best I came up with, but if you think it can have a better and more clear name please let me know.

# E.g.:
# - `:mkdir a` moves the cursor to the new directory `a`
# - `:mkdir ./b` keeps the cursor where it was
focus_on_create = true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hope this documentation is clear enough

@kamiyaa kamiyaa merged commit ee50d17 into kamiyaa:main Nov 4, 2023
4 checks passed
@kamiyaa
Copy link
Owner

kamiyaa commented Nov 4, 2023

LGTM! Thanks!

@Akmadan23 Akmadan23 deleted the forus_on_create branch November 7, 2023 14:23
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.

2 participants