Skip to content

Commit

Permalink
Map <Leader>rv in normal mode to inline variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Nov 22, 2024
1 parent bb70a5a commit 74c02c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nvim/.config/nvim/lua/dietrichm/refactoring.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ end

refactoring.setup()

vim.keymap.set('n', '<Leader>rv', [[:Refactor inline_var]])
vim.keymap.set('x', '<Leader>rv', [[:Refactor extract_var ]])

0 comments on commit 74c02c7

Please sign in to comment.