Skip to content

Feature request: Add new type 'vcs' for g:startify_lists #548

@karamellpelle

Description

@karamellpelle

I have let g:startify_change_to_vcs_root = 1 and thought I could list all recent files from that VCS project like so:

let g:startify_lists = [
      \ { 'type': 'dir',       'header': ['   Recent files in project '. fnamemodify(getcwd(), ':t')] },
      \ ]

But getcwd() is not vcs_root but the current directory (suppose I am in a subfolder of the project).

Suggestion add an additional type 'vcs' (instead of 'dir' here) that lists recent files from the latest edited VCS project.

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