This commit is contained in:
FugoTakefusa 2025-11-28 15:00:01 +13:00
parent fd0c019454
commit 0e1fffb6be
2 changed files with 7 additions and 1 deletions

View File

@ -27,3 +27,9 @@ map("n", "<leader>ot", function()
end) end)
map("t", "<Esc>", "<C-\\><C-n>", { desc = "Escape to Normal mode in terminal" }) map("t", "<Esc>", "<C-\\><C-n>", { desc = "Escape to Normal mode in terminal" })
map("v", "<leader>p", '"_dP', { desc = "Replace and paste with blackhole register" })
map("n", "<C-u>", "<C-u>zz", { desc = "Page up and center" })
map("n", "<C-d>", "<C-d>zz", { desc = "Page down and center" })

View File

@ -2,7 +2,7 @@
vim.g.have_nerd_font = true vim.g.have_nerd_font = true
-- Make line numbers default -- Make line numbers default
vim.opt.number = true vim.opt.relativenumber = true
-- Enable mouse mode, can be useful for resizing splits for example! -- Enable mouse mode, can be useful for resizing splits for example!
vim.opt.mouse = 'a' vim.opt.mouse = 'a'