tab to spaces & use jj keymap

This commit is contained in:
Tri Hargianto 2024-01-22 11:40:00 +07:00
parent 741ff3aa70
commit 52f55bd4a8

View file

@ -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", "<esc>", { noremap = true })