{pkgs, ...}: { output.plugins = with pkgs.vimPlugins; [nvim-hlslens]; plugin.setup.hlslens = {}; vim.keybindings.keybindings = { n = { command = "execute('normal! ' . v:count1 . 'n')lua require('hlslens').start()"; options.silent = true; label = "Continue search forwards"; }; N = { command = "execute('normal! ' . v:count1 . 'N')lua require('hlslens').start()"; options.silent = true; label = "Continue search backwards"; }; "*" = { command = "*lua require('hlslens').start()"; options.silent = true; label = "Next identifier"; }; "#" = { command = "#lua require('hlslens').start()"; options.silent = true; label = "Prev identifier"; }; g = { "*" = { command = "g*lua require('hlslens').start()"; options.silent = true; label = "Next identifier"; }; "#" = { command = "g#lua require('hlslens').start()"; options.silent = true; label = "Prev identifier"; }; }; "" = { command = "noh"; options.silent = true; label = "Clear highlight"; }; }; }