nix/nixos
Khaïs COLIN 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
..
breezex-cursor wip(stylix): move stylix to nixos config 2024-08-13 17:20:02 +02:00
certs feat(certs): override the cacert package to always trust my own CA 2024-08-11 14:07:27 +02:00
konsole feat(home-manager): slowly migrate home-manager to be installed as a nixos module 2024-08-13 12:41:45 +02:00
nixvim feat(nixvim): use frecency algorithm in telescope searches 2024-08-16 16:29:22 +02:00
overlays feat(certs): override the cacert package to always trust my own CA 2024-08-11 14:07:27 +02:00
river-shifttags fix(river-shifttags): add missing river-shifttags input to nixos flake 2024-08-13 13:39:47 +02:00
wallpapers fix(stylix): move wallpapers 2024-08-13 18:50:44 +02:00
wm fix(wm): include wm config 2024-08-14 12:10:46 +02:00
apply.sh feat(build tools): update build tools 2024-08-14 12:12:17 +02:00
borgbackup.nix feat(backup): first borgbackup module test 2024-08-12 16:58:39 +02:00
configuration.nix fix(stylix): difference between nixos & home-manager options 2024-08-13 18:49:26 +02:00
direnv.nix feat(nix-direnv): install nix-direnv 2024-08-14 13:48:04 +02:00
flake.lock wip(stylix): move stylix to nixos config 2024-08-13 17:20:02 +02:00
flake.nix wip(stylix): move stylix to nixos config 2024-08-13 17:20:02 +02:00
hardware-configuration.nix nixos: switch to a flake + change /boot part uuid 2024-07-28 11:36:51 +02:00
home.nix feat(zsh): install jujutsu completions 2024-08-15 17:07:49 +02:00
neovim_default_scheme.yaml fix(home-manager): add colorscheme file 2024-08-13 18:50:21 +02:00
sourcehut.nix fix(sourcehut): actually environment.variables do not affect systemd services, trying another way 2024-08-12 14:17:05 +02:00
stylix.nix fix(stylix): difference between nixos & home-manager options 2024-08-13 18:49:26 +02:00
test.sh feat(build tools): update build tools 2024-08-14 12:12:17 +02:00