43 lines
1 KiB
Nix
43 lines
1 KiB
Nix
_:
|
|
|
|
{
|
|
home-manager.users.moritz.programs.nixvim = {
|
|
plugins = {
|
|
telescope = {
|
|
enable = true;
|
|
extensions.fzf-native.enable = true;
|
|
keymaps = {
|
|
"<leader>ff" = {
|
|
action = "find_files";
|
|
options.desc = "Find files";
|
|
};
|
|
"<leader>fb" = {
|
|
action = "buffers";
|
|
options.desc = "Find buffers";
|
|
};
|
|
"<leader>fl" = {
|
|
action = "current_buffer_fuzzy_find";
|
|
options.desc = "Search lines";
|
|
};
|
|
"<leader>fg" = {
|
|
action = "live_grep";
|
|
options.desc = "Live grep";
|
|
};
|
|
"<leader>fh" = {
|
|
action = "help_tags";
|
|
options.desc = "Help tags";
|
|
};
|
|
"<leader>fr" = {
|
|
action = "oldfiles";
|
|
options.desc = "Recent files";
|
|
};
|
|
"<leader>fc" = {
|
|
action = "commands";
|
|
options.desc = "Commands";
|
|
};
|
|
};
|
|
};
|
|
web-devicons.enable = true;
|
|
};
|
|
};
|
|
}
|