aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/keybinds.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/keybinds.lua')
-rw-r--r--.config/nvim/lua/keybinds.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua
index ac3519d..372335a 100644
--- a/.config/nvim/lua/keybinds.lua
+++ b/.config/nvim/lua/keybinds.lua
@@ -1,7 +1,6 @@
local telescope = require("telescope.builtin")
local wk = require("which-key")
local ufo = require("ufo")
-local renamer = require("renamer")
local nt_api = require("nvim-tree.api")
vim.g.mapleader = " "
@@ -35,7 +34,7 @@ vim.keymap.set("n", "<Leader>q", ":q<CR>")
vim.keymap.set("n", "<Leader>[", ufo.openAllFolds)
vim.keymap.set("n", "<Leader>]", ufo.closeAllFolds)
-vim.keymap.set("n", "<Leader>r", renamer.rename)
+vim.keymap.set("n", "<Leader>r", vim.lsp.buf.rename)
vim.opt.whichwrap = "<,>,h,l,[,]"