Skip to content

Setting initial mode of CtrlPLastMode? #620

@ChristianTackeGSI

Description

@ChristianTackeGSI

I like CtrlPLastMode! But in a new editing session, it starts out with the default Files mode, which I (currently) use rarely. I use Buffer first and then MRU. So I would like to set the initial mode of LastMode to Buffer. Is this possuble?

I even tried things like call ctrlp#switchtype(0), call ctrlp#setlines(0), or call ctrlp#call("s:setlines_pre", -1). But they either fail with an error or set the mode of the next LastMode invocation somewhat wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions