Improved neovim config

This commit is contained in:
Eduard Urbach 2023-08-19 00:40:26 +02:00
parent 957a629c38
commit 57228dd15f
Signed by: eduard
GPG key ID: 49226B848C78F6C8
6 changed files with 56 additions and 40 deletions

View file

@ -1,3 +1,6 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("n", "U", "<cmd>redo<cr>", { desc = "Redo" })
vim.keymap.set("n", "<C-r>", ":%s/<C-R><C-W>//g<Left><Left>", { desc = "Replace word under cursor" })