diff options
Diffstat (limited to 'nixos/modules/nixvim/plugins/telescope.nix')
-rw-r--r-- | nixos/modules/nixvim/plugins/telescope.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixos/modules/nixvim/plugins/telescope.nix b/nixos/modules/nixvim/plugins/telescope.nix new file mode 100644 index 0000000..1309eca --- /dev/null +++ b/nixos/modules/nixvim/plugins/telescope.nix @@ -0,0 +1,29 @@ +{ + programs.nixvim.plugins.telescope = { + enable = true; + + keymaps = { + "<leader>ff" = "find_files"; + "<leader>b" = "buffers"; + "<leader>fh" = "help_tags"; + "<leader>gf" = "git_files"; + "<leader>of" = "oldfiles"; + # "<leader>fg" = "live_grep"; + # "<leader>fd" = "diagnostics"; + }; + + keymapsSilent = true; + + settings.defaults = { + file_ignore_patterns = [ + "^.git/" + "^.mypy_cache/" + "^__pycache__/" + "^output/" + "^data/" + "%.ipynb" + ]; + set_env.COLORTERM = "truecolor"; + }; + }; +} |