diff --git a/home/programs/neovim.nix b/home/programs/neovim.nix index 2cb09ad..83b9086 100644 --- a/home/programs/neovim.nix +++ b/home/programs/neovim.nix @@ -13,6 +13,10 @@ extraPlugins = with pkgs.vimPlugins; [ dracula-vim ]; + extraPackages = with pkgs; [ + fd + ripgrep + ]; options = { autowrite = true; background = "dark"; @@ -55,6 +59,14 @@ silent = true; action = ":Neotree toggle"; }; + "ff" = { + silent = true; + action = ":Telescope find_files"; + }; + "fg" = { + silent = true; + action = ":Telescope live_grep"; + }; }; }; plugins = { @@ -128,6 +140,16 @@ {name = "treesitter";} ]; }; + telescope = { + enable = true; + extensions = { + fzf-native = { + enable = true; + caseMode = "smart_case"; + fuzzy = true; + }; + }; + }; treesitter = { enable = true; };