nvim: added renamer gui

master
tiyn 1 year ago
parent f02fc4c538
commit 4beec8a2b0

@ -79,9 +79,11 @@ vim.keymap.set('n', 'gy', ':lua vim.lsp.buf.type_definition()<CR>', { noremap =
vim.keymap.set('n', 'gi', ':lua vim.lsp.buf.implementation()<CR>', { noremap = true })
vim.keymap.set('n', 'gr', ':lua vim.lsp.buf.references()<CR>', { noremap = true })
vim.keymap.set('n', 'K', ':lua vim.lsp.buf.hover()<CR>', { noremap = true })
vim.keymap.set('n', '<F5>', ':lua vim.lsp.buf.rename()<CR>', { noremap = true })
vim.keymap.set('n', '<F8>', ':lua vim.lsp.buf.format()<CR>', { noremap = true })
-- filipdutescu/renamer.nvim
vim.keymap.set('n', '<F5>', ':lua require("renamer").rename()<CR>', { noremap = true })
-- nvim-telescope/telescope.nvim
vim.keymap.set('n', '<F4>', ':Telescope find_files<CR>', { noremap = true })

@ -319,7 +319,7 @@ return require("lazy").setup({
},
-- fix for cursorhold function
'antoinemadec/fixcursorhold.nvim',
-- 'antoinemadec/fixcursorhold.nvim',
-- showing color of hex values, etc
{
@ -333,6 +333,7 @@ return require("lazy").setup({
-- fileexplorer on the side
{
"nvim-tree/nvim-tree.lua",
cmd = "NvimTreeToggle",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
@ -560,6 +561,7 @@ return require("lazy").setup({
"NvimTree",
"Navbuddy",
"FTerm",
"",
},
})
require("scrollbar.handlers.search").setup()
@ -597,6 +599,13 @@ return require("lazy").setup({
end
},
-- improved gui for renaming
{
'filipdutescu/renamer.nvim',
dependencies = { 'nvim-lua/plenary.nvim' },
opts = {}
},
},
-- lazy.nvim configuration
{

Loading…
Cancel
Save