-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Get oldfiles list after enter repo #56
Comments
i think add a option when select a repo, because i have some file not staged, and i select a repo, not staged file not exists the list. if add a option, when select a repo, and the list is oldfiles, it's very handy |
Hey, thanks for opening this issue! I agree, that’s a valuable feature. I think I’ll add it as a part of a custom action for a mapping (#19). We also need to be able to load actions from the telescope-repo plugin, ideally lazily (from strings, as it’s done in some other places.) Then the setting would look like this: require("telescope").setup {
extensions = {
-- That’s the standard place to put telescope extensions settings
repo = {
mappings = {
i = {
["<CR>"] = "old_files_for_repo"
["<S-CR>"] = "git_status"
["<Some-other-binding>"] = "git_files" -- That’s what we show currently.
}
}
-- … other stuff
},
},
} |
What do you think of the above @zhaogangang ? |
i think it's good idea, may i creat a PR,if this feature havn't implemented when i have sparetime. |
would you add config:
when i enter a repo after execute :Telescope repo,show Oldfiles not Git Files. i think this will be useful
The text was updated successfully, but these errors were encountered: