diff --git a/users/youwen/common/neovim/default.nix b/users/youwen/common/neovim/default.nix index 2efd999..6982d31 100644 --- a/users/youwen/common/neovim/default.nix +++ b/users/youwen/common/neovim/default.nix @@ -367,6 +367,15 @@ silent = true; }; } + { + action = '':lua vim.lsp.buf.rename()''; + key = "cr"; + options = { + desc = "Rename symbol"; + noremap = true; + silent = true; + }; + } # { # action = ":Yazi"; # key = "mf"; @@ -509,6 +518,8 @@ tabline = {}; trailspace = {}; comment = {}; + cursorword = {}; + bracketed = {}; }; };