Use nixvim
This commit is contained in:
parent
f0217e4640
commit
ecb2a05d60
72 changed files with 691 additions and 1664 deletions
28
modules/home-manager/coding/neovim/plugins/telescope.nix
Normal file
28
modules/home-manager/coding/neovim/plugins/telescope.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
plugins.telescope = {
|
||||
enable = true;
|
||||
|
||||
extensions = {
|
||||
live-grep-args.enable = true;
|
||||
fzf-native.enable = true;
|
||||
ui-select.enable = true;
|
||||
};
|
||||
|
||||
keymaps = {
|
||||
"<leader>fb" = "buffers";
|
||||
"<leader>fd" = "find_files";
|
||||
"<leader>fg" = "live_grep";
|
||||
|
||||
"<leader>gw" = {
|
||||
action = "grep_string";
|
||||
mode = [
|
||||
"n"
|
||||
"v"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
settings.defaults.layout_config.prompt_position = "top";
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue