From 122dc8bc892c37381d3e585dd69d793d02dab67b Mon Sep 17 00:00:00 2001 From: GMAXnoob <83890189+Gmaxnoob@users.noreply.github.com> Date: Sat, 1 Nov 2025 18:13:58 -0400 Subject: [PATCH] Started screwing around; added indentation rules --- init.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index b98ffc61..a51cf9a1 100644 --- a/init.lua +++ b/init.lua @@ -107,10 +107,13 @@ vim.o.number = true -- Enable mouse mode, can be useful for resizing splits for example! vim.o.mouse = 'a' +-- Sets the theme to dark mode +vim.o.background = 'dark' + -- Don't show the mode, since it's already in the status line vim.o.showmode = false --- Sync clipboard between OS and Neovim. +-- Sync clipboard between OS a:nd Neovim. -- Schedule the setting after `UiEnter` because it can increase startup-time. -- Remove this option if you want your OS clipboard to remain independent. -- See `:help 'clipboard'` @@ -152,6 +155,11 @@ vim.o.splitbelow = true vim.o.list = true vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +vim.opt.expandtab = false +vim.opt.tabstop = 2 +vim.opt.shiftwidth = 2 +vim.opt.softtabstop = 2 + -- Preview substitutions live, as you type! vim.o.inccommand = 'split' @@ -202,7 +210,7 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the upper win -- NOTE: Some terminals have colliding keymaps or are not able to send distinct keycodes -- vim.keymap.set("n", "", "H", { desc = "Move window to the left" }) -- vim.keymap.set("n", "", "L", { desc = "Move window to the right" }) --- vim.keymap.set("n", "", "J", { desc = "Move window to the lower" }) +-- vim.keymap.set("n", "", "J",i { desc = "Move window to the lower" }) -- vim.keymap.set("n", "", "K", { desc = "Move window to the upper" }) -- [[ Basic Autocommands ]]