nix/home/config/nvim/module/key/Telescope.nix

13 lines
534 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: let
mod = "f";
2024-04-06 03:03:58 +03:00
in {
text = ''
2024-06-23 04:55:57 +03:00
rekey_normal("<Leader>${mod}a", "<cmd>Telescope<cr>")
rekey_normal("<Leader>${mod}b", "<cmd>lua require('telescope.builtin').buffers()<cr>")
rekey_normal("<Leader>${mod}f", "<cmd>lua require('telescope.builtin').find_files()<cr>")
rekey_normal("<Leader>${mod}g", "<cmd>lua require('telescope.builtin').live_grep()<cr>")
rekey_normal("<Leader>${mod}h", "<cmd>lua require('telescope.builtin').help_tags()<cr>")
rekey_normal("<Leader>${mod}t", "<cmd>Telescope treesitter<cr>")
2024-04-06 03:03:58 +03:00
'';
}