enable telescope

This commit is contained in:
Adithya 2023-08-06 22:46:58 +05:30
parent 536a40dc3b
commit 9d3fffeed0
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -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 = "<cmd>:Neotree toggle<Return>";
};
"<leader>ff" = {
silent = true;
action = "<cmd>:Telescope find_files<Return>";
};
"<leader>fg" = {
silent = true;
action = "<cmd>:Telescope live_grep<Return>";
};
};
};
plugins = {
@ -128,6 +140,16 @@
{name = "treesitter";}
];
};
telescope = {
enable = true;
extensions = {
fzf-native = {
enable = true;
caseMode = "smart_case";
fuzzy = true;
};
};
};
treesitter = {
enable = true;
};