caio.co/de/config.nvim

Rename with r instead of rn

wasting dem precious keystrokes. abserd
Id
0bd17ea38443fd14b8f1e5582f6660b7e8c82c65
Author
Caio
Commit time
2024-04-24T10:32:40+02:00

Modified lua/config/lsp.lua

@@ -16,7 +16,7

map('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)

- map('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
+ map('n', '<leader>r', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
map('n', '<leader>a', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts)

map('n', '<leader>s', '<cmd>Telescope lsp_document_symbols<CR>', opts)