{ ... }: { programs.nixvim = { plugins.telescope = { enable = true; extensions = { fzf-native.enable = true; ui-select.enable = true; undo.enable = true; }; keymaps = { "ff" = "find_files"; "fg" = "live_grep"; "b" = "buffers"; "fh" = "help_tags"; "fd" = "diagnostics"; "" = "git_files"; "?" = "oldfiles"; }; settings.defaults = { file_ignore_patterns = [ "^.git/" "^.mypy_cache/" "^__pycache__/" "^output/" "^data/" "%.ipynb" ]; set_env.COLORTERM = "truecolor"; }; }; keymaps = [ { mode = "n"; key = ""; action.__raw = '' function() require('telescope.builtin').live_grep({ default_text="TODO", initial_mode="normal" }) end ''; options.silent = true; } ]; }; }