diff --git a/home/vim/default.nix b/home/vim/default.nix index b2bba15..d54ca23 100644 --- a/home/vim/default.nix +++ b/home/vim/default.nix @@ -78,6 +78,7 @@ in # UX improvements gitsigns-nvim # Fast git UI integration which-key-nvim # Show available mappings + telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm telescope-nvim # Fuzzy finder interface ]; diff --git a/home/vim/plugin/settings/telescope.vim b/home/vim/plugin/settings/telescope.vim new file mode 100644 index 0000000..4f7aeb6 --- /dev/null +++ b/home/vim/plugin/settings/telescope.vim @@ -0,0 +1,16 @@ +lua << EOF +local telescope = require("telescope") + +telescope.setup({ + extensions = { + fzf = { + fuzzy = true, + override_generic_sorter = true, + override_file_sorter = true, + case_mode = "smart_case", + }, + }, +}) + +telescope.load_extension("fzf") +EOF