Skip to content

Commit 8a3fe4f

Browse files
committed
Moved rename to "code" section
1 parent b85254e commit 8a3fe4f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ require('lazy').setup({
256256
{ '<leader>c', group = '[C]ode', mode = { 'n', 'x' } },
257257
{ '<leader>d', group = '[D]ebug/Document' },
258258
{ '<leader>g', group = '[G]it' },
259-
{ '<leader>r', group = '[R]ename' },
260259
{ '<leader>s', group = '[S]earch' },
261260
{ '<leader>w', group = '[W]orkspace' },
262261
{ '<leader>t', group = '[T]oggle' },
@@ -487,7 +486,7 @@ require('lazy').setup({
487486

488487
-- Rename the variable under your cursor.
489488
-- Most Language Servers support renaming across files, etc.
490-
map('<leader>rn', vim.lsp.buf.rename, '[R]e[n]ame')
489+
map('<leader>cr', vim.lsp.buf.rename, '[R]ename')
491490

492491
-- Execute a code action, usually your cursor needs to be on top of an error
493492
-- or a suggestion from your LSP for this to activate.

0 commit comments

Comments
 (0)