Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

add shortcuts for telescope search history #258

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

emmanueltouzery
Copy link
Contributor

@emmanueltouzery emmanueltouzery commented Nov 23, 2021

bind by default shortcuts in telescope for previous & next history entries. See :help telescope.defaults.history and nvim-telescope/telescope.nvim#1208 and nvim-telescope/telescope.nvim#521

I don't see any downside to this, only upsides, that's why I'm suggesting it.


And if you think this belongs in doom-nvim by default, I also wonder about potentially adding:

      path_display = {'truncate'},

to telescope settings, in a separate PR, if you would be interested. It's documented at telescope.defaults.path_display. By default, telescope cuts the end of a filename. And the end is the most interesting part... It contains the actual filename you'll open. With truncate, it will cut the start, which is a reasonable default. There are more advanced options (like cut individual folder names in the path), but truncate seems to be a reasonable default, better than cutting at the end. Let me know if you would be interested in such a separate PR too.

@NTBBloodbath NTBBloodbath added branch: develop For stuff regarding to development branch scope: enhancement New feature or request labels Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
branch: develop For stuff regarding to development branch scope: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants