Skip to content

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

@fourjay

Description

@fourjay

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions