mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
tab to spaces & use jj keymap
This commit is contained in:
parent
741ff3aa70
commit
52f55bd4a8
1 changed files with 12 additions and 0 deletions
12
init.lua
12
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", "<esc>", { noremap = true })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue