i need to get a job wtf even are these changes

This commit is contained in:
2026-02-16 09:35:17 +00:00
parent 83e835bf41
commit eee5b39eb1
7 changed files with 58 additions and 18 deletions

View File

@@ -50,6 +50,17 @@ vim.cmd.colorscheme("catppuccin-mocha")
-- Scrolloff
vim.opt.scrolloff = math.floor(vim.o.lines / 2) - 3
-- Indent
vim.o.autoindent = true
-- Rebind 'i' to indent properly on empty lines
vim.keymap.set("n", "i", function()
if vim.fn.getline("."):match("^%s*$") then
return [["_cc]]
else
return "i"
end
end, { expr = true, desc = "Indent properly on empty lines" })
-- Force proper keybindings
vim.keymap.set("n", "<left>", '<cmd>echo "Use h to move!!"<CR>')
vim.keymap.set("n", "<right>", '<cmd>echo "Use l to move!!"<CR>')