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: Add filetype or other hook for user mods #6

Open
fourjay opened this issue Nov 27, 2017 · 0 comments
Open

FEATURE: Add filetype or other hook for user mods #6

fourjay opened this issue Nov 27, 2017 · 0 comments

Comments

@fourjay
Copy link

fourjay commented Nov 27, 2017

USE CASE: I'd like to add some custom local behavior to the startup-log.txt window (examples: a "q->quit mapping", a "CR -> fold-toggle").

With the buffer strategy of open and then name, there's no event I can see to add customization.

One approach is to set some sort of filetype, say "startuptime-log" (should be specific enough to not interfere with any other filetype). This allows autocmds to trigger off of filetype.

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