lvim: Update config
This commit is contained in:
parent
10ab2b0815
commit
81862c85bf
1 changed files with 12 additions and 5 deletions
|
@ -9,24 +9,31 @@ an executable
|
|||
Ref.:https://www.lunarvim.org/configuration/01-settings.html#example-options
|
||||
]]
|
||||
|
||||
-- vim options
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.showmode = true
|
||||
vim.opt.expandtab = true
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.wrap = true
|
||||
|
||||
-- general
|
||||
lvim.log.level = "warn"
|
||||
lvim.format_on_save = true
|
||||
lvim.colorscheme = "onedarker"
|
||||
|
||||
-- vim options
|
||||
vim.opt.wrap = true
|
||||
|
||||
-- keymappings [view all the defaults by pressing <leader>Lk]
|
||||
lvim.leader = "space"
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
|
||||
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.notify.active = true
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
||||
lvim.builtin.nvimtree.show_icons.git = 0
|
||||
lvim.builtin.nvimtree.show_icons.git = 1
|
||||
lvim.builtin.lualine.style = "lvim"
|
||||
|
||||
-- if you don't want all the parsers change this to a table of the ones you want
|
||||
|
|
Loading…
Add table
Reference in a new issue