We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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_change_to_vcs_root = 1
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).
getcwd()
Suggestion add an additional type 'vcs' (instead of 'dir' here) that lists recent files from the latest edited VCS project.
'vcs'
'dir'
The text was updated successfully, but these errors were encountered:
Does this setting work for you? If found Fugitive's
autocmd BufRead,BufNewFile * \ if !empty(FugitiveGitDir()) | \ Glcd | \ endif
more reliable and was about to open an issue.
Sorry, something went wrong.
No branches or pull requests
I have
let g:startify_change_to_vcs_root = 1
and thought I could list all recent files from that VCS project like so: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.The text was updated successfully, but these errors were encountered: