This commit is contained in:
2025-10-25 21:18:38 +02:00
parent 823a3bfb95
commit 53a7392fdb

View File

@@ -11,6 +11,7 @@ vim.cmd("set rnu")
-- Search -- Search
vim.opt.ignorecase = true vim.opt.ignorecase = true
vim.opt.incsearch = true vim.opt.incsearch = true
vim.keymap.set("n", "<leader>s", "/{pattern}[/]<CR>", {desc = "search"})
-- Visual -- Visual
vim.opt.signcolumn = "yes" vim.opt.signcolumn = "yes"
@@ -48,6 +49,9 @@ vim.keymap.set("v", "<A-k>", ":m '<-2<CR>gv=gv", {desc = "Move lines up"})
vim.keymap.set("v", "<", "<gv", {desc = "Indent left and reselect"}) vim.keymap.set("v", "<", "<gv", {desc = "Indent left and reselect"})
vim.keymap.set("v", ">", ">gv", {desc = "Indent right and reselect"}) vim.keymap.set("v", ">", ">gv", {desc = "Indent right and reselect"})
-- Terminal
vim.keymap.set("t", "<C-c>", [[<C-\><C-n>]], {silent = true, noremap = true})
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ vim.fn.system({