From 52f55bd4a855418e371757c12ed0ac89f32494c6 Mon Sep 17 00:00:00 2001 From: Tri Hargianto Date: Mon, 22 Jan 2024 11:40:00 +0700 Subject: [PATCH] tab to spaces & use jj keymap --- init.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/init.lua b/init.lua index 2514f9e..0cc2761 100644 --- a/init.lua +++ b/init.lua @@ -1,2 +1,14 @@ -- bootstrap lazy.nvim, LazyVim and your plugins require("config.lazy") + +-- EDITING +------------------------------------------------------------------------ + +-- Indents will have a width of 4 and use spaces instead of tabs +vim.o.tabstop = 2 +vim.o.shiftwidth = 2 +vim.o.softtabstop = 2 +vim.o.expandtab = true + +-- Key mappings +vim.api.nvim_set_keymap("i", "jj", "", { noremap = true })