feat: neovim plugins update
This commit is contained in:
parent
6e8014e0b5
commit
eaf110c96f
13 changed files with 1195 additions and 6 deletions
23
home-manager/modules/neovim/plugins/mini-surround.nix
Normal file
23
home-manager/modules/neovim/plugins/mini-surround.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{...}: {
|
||||
programs.nixvim = {
|
||||
plugins = {
|
||||
mini = {
|
||||
enable = true;
|
||||
|
||||
modules = {
|
||||
surround = {
|
||||
mappings = {
|
||||
add = "gsa"; # -- Add surrounding in Normal and Visual modes
|
||||
delete = "gsd"; # -- Delete surrounding
|
||||
find = "gsf"; # -- Find surrounding (to the right)
|
||||
find_left = "gsF"; # -- Find surrounding (to the left)
|
||||
highlight = "gsh"; # -- Highlight surrounding
|
||||
replace = "gsr"; # -- Replace surrounding
|
||||
update_n_lines = "gsn"; # -- Update `n_lines`
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue