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

allow changing file name #12

Closed
max397574 opened this issue Jan 4, 2023 · 2 comments
Closed

allow changing file name #12

max397574 opened this issue Jan 4, 2023 · 2 comments

Comments

@max397574
Copy link
Contributor

image

I'd like to be able to just have ~/.config/neovim_configs/omega/ here

I don't know why the oil:// is there
but the ~ could be done with fnamemodify (:~)

@max397574
Copy link
Contributor Author

perhaps you could expose a hook function which is called on the filename
so users could do whatever they want

@stevearc
Copy link
Owner

stevearc commented Jan 4, 2023

Done! It was displaying oil:// because that's part of the full buffer name, and the title was just displaying the buffer name. I added a special case for the files adapter to display the title as the file path instead; other adapters will still show the full url.

I'd like to try to avoid adding config options unless I absolutely have to. I took a lot of requests and PRs that added options for another of my plugins, and it grew to be kind of a mess :/

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