From 74c02c7a7a145f962d50c80de1fe7ea924e977d2 Mon Sep 17 00:00:00 2001 From: Dietrich Moerman Date: Fri, 22 Nov 2024 16:33:38 +0100 Subject: [PATCH] Map `rv` in normal mode to inline variable --- nvim/.config/nvim/lua/dietrichm/refactoring.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/.config/nvim/lua/dietrichm/refactoring.lua b/nvim/.config/nvim/lua/dietrichm/refactoring.lua index efd1a11..9d975b5 100644 --- a/nvim/.config/nvim/lua/dietrichm/refactoring.lua +++ b/nvim/.config/nvim/lua/dietrichm/refactoring.lua @@ -5,4 +5,5 @@ end refactoring.setup() +vim.keymap.set('n', 'rv', [[:Refactor inline_var]]) vim.keymap.set('x', 'rv', [[:Refactor extract_var ]])