doom-nvim icon indicating copy to clipboard operation
doom-nvim copied to clipboard

add shortcuts for telescope search history

Open emmanueltouzery opened this issue 3 years ago • 0 comments
trafficstars

bind by default shortcuts in telescope for previous & next history entries. See :help telescope.defaults.history and https://github.com/nvim-telescope/telescope.nvim/issues/1208 and https://github.com/nvim-telescope/telescope.nvim/pull/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.

emmanueltouzery avatar Nov 23 '21 18:11 emmanueltouzery