nvf icon indicating copy to clipboard operation
nvf copied to clipboard

Add `vim.telescope.mappings.oldfiles`

Open Ladas552 opened this issue 9 months ago • 3 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [x] I checked and didn't find a similar feature request

🏷️ Feature Type

New Addon

🔖 Feature description

There is no option for :Telescope oldfiles that is used to navigate Recent files in neovim. Would be good to add it

✔️ Solution

add option for vim.telescope.mappings.oldfiles maybe with "fR" default

❓ Alternatives

No response

📝 Additional Context

No response

Ladas552 avatar Apr 13 '25 11:04 Ladas552

you can add custom keymaps with vim.keymaps

horriblename avatar Apr 13 '25 12:04 horriblename

it is not our goal to add every possible keymap under the sun. If you think it's a useful default for others, feel free to make a PR, otherwise, just add the keymaps yourself

horriblename avatar Apr 13 '25 13:04 horriblename

@horriblename I have been using vim.keymaps for quite a while now and on latest versions of nvf it seems when you open nvim for the first time and run :Telescope oldfiles it doesn't properly load telescope layout config.

But if I open find_files, close then open oldfiles, the layout will be correct.

Assuming a problem with lazy loading?

ruigouveiamaciel avatar Apr 14 '25 10:04 ruigouveiamaciel

But if I open find_files, close then open oldfiles, the layout will be correct.

Ive been experiencing the same issue. Both with oldfiles, and added telescope extensions.

The solution was to disable lazy loading from telescope. vim.lazy.plugins.telescope.lazy = false;

ecribia avatar May 06 '25 21:05 ecribia

probably #535

closing this issue as the original issue is resolved

horriblename avatar May 06 '25 22:05 horriblename