Commit graph

8 commits

Author SHA1 Message Date
9c0bf2a2df feat(oil): delete files to trash 2024-08-18 14:13:08 +02:00
409b192997 feat(nixvim): use telescope in more places using dressing.nvim 2024-08-16 16:45:26 +02:00
235d48135c feat(nixvim): use frecency algorithm in telescope searches
This gives better results, especially in <leader>b

My first try was to use the frecency telescope plugin, but that seems to
add a new telescope command, while I want frecency sorting in all
commands.

I then found the telescope-all-recent[1] plugin, which seems to do what
I want. This seems best paired with dressing.nvim[2] or
telescope-ui-select[3], to use the telescope ui in all select operations
(kind of like ivy in emacs).

These plugins are not supported by nixvim natively, so I'm following the
guide on how to use these plugins[4].

This now works, but I'm kind of unhappy with the sorting. Emacs-ivy had
this really neat feature where the first ~5 elements of the result were
always the last 5 elements you picked. Maybe I can acheive that by
tweaking the frecency weights? Let's see in another commit.

[1] https://github.com/prochri/telescope-all-recent.nvim
[2] https://github.com/stevearc/dressing.nvim
[3] https://github.com/nvim-telescope/telescope-ui-select.nvim
[4] https://nix-community.github.io/nixvim/user-guide/faq.html
2024-08-16 16:29:22 +02:00
cd53c9bab8 feat(nixvim): install telescope-all-recent plugin
Configuration will be done in the next commit.

[1] https://github.com/prochri/telescope-all-recent.nvim
2024-08-16 15:37:14 +02:00
ea2cdf687f chore: remove nonexistent input of flake-parts 2024-08-16 14:33:44 +02:00
098f6e9f62 update nixvim/flake.lock 2024-08-13 13:24:23 +02:00
ec8047a5ca fix(nixvim): follow nixpkgs 2024-08-13 12:55:20 +02:00
e46d874e51 fix(home-manager): copy over nixvim configuration 2024-08-13 12:44:43 +02:00