add basic setting
This commit is contained in:
parent
3fed273ed8
commit
f9288900e8
8
init.lua
8
init.lua
|
|
@ -103,6 +103,12 @@ vim.opt.number = true
|
||||||
-- You can also add relative line numbers, to help with jumping.
|
-- You can also add relative line numbers, to help with jumping.
|
||||||
-- Experiment for yourself to see if you like it!
|
-- Experiment for yourself to see if you like it!
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
vim.opt.expandtab = true
|
||||||
|
vim.opt.tabstop = 2
|
||||||
|
vim.opt.shiftwidth = 2
|
||||||
|
vim.opt.virtualedit = 'block'
|
||||||
|
-- vim.opt.inccommand = "split"
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
-- Enable mouse mode, can be useful for resizing splits for example!
|
-- Enable mouse mode, can be useful for resizing splits for example!
|
||||||
vim.opt.mouse = 'a'
|
vim.opt.mouse = 'a'
|
||||||
|
|
@ -858,6 +864,8 @@ require('lazy').setup({
|
||||||
completeopt = 'menu,menuone,noinsert,noselect',
|
completeopt = 'menu,menuone,noinsert,noselect',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
experimental = { ghost_text = true },
|
||||||
|
|
||||||
-- For an understanding of why these mappings were
|
-- For an understanding of why these mappings were
|
||||||
-- chosen, you will need to read `:help ins-completion`
|
-- chosen, you will need to read `:help ins-completion`
|
||||||
--
|
--
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue