lvim: Nicer theme, better terminal, more treesitter
This commit is contained in:
parent
07f09e3b9f
commit
849a0ac46a
1 changed files with 24 additions and 6 deletions
|
@ -18,39 +18,57 @@ vim.opt.tabstop = 2
|
|||
vim.opt.number = true
|
||||
vim.opt.relativenumber = false
|
||||
vim.opt.wrap = true
|
||||
vim.opt.termguicolors = true
|
||||
|
||||
-- general
|
||||
lvim.log.level = "warn"
|
||||
lvim.format_on_save = true
|
||||
lvim.colorscheme = "onedarker"
|
||||
lvim.colorscheme = "gruvbox"
|
||||
|
||||
-- keymappings [view all the defaults by pressing <leader>Lk]
|
||||
lvim.leader = "space"
|
||||
lvim.keys.normal_mode["<C-s>"] = ":w<cr>"
|
||||
lvim.keys.normal_mode["<C-d>"] = ":q<cr>"
|
||||
lvim.keys.normal_mode["<Leader>t"] = ":ToggleTerm dir='%:p:h'<cr>"
|
||||
|
||||
-- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile
|
||||
lvim.builtin.alpha.active = true
|
||||
lvim.builtin.alpha.mode = "dashboard"
|
||||
lvim.builtin.alpha.mode = "startify"
|
||||
lvim.builtin.lualine.style = "default"
|
||||
lvim.builtin.notify.active = true
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.nvimtree.setup.view.side = "left"
|
||||
lvim.builtin.nvimtree.show_icons.git = 1
|
||||
lvim.builtin.lualine.style = "lvim"
|
||||
lvim.builtin.terminal.active = true
|
||||
lvim.builtin.terminal.close_on_exit = true
|
||||
lvim.builtin.terminal.direction = "horizontal"
|
||||
lvim.builtin.terminal.hide_numbers = true
|
||||
lvim.builtin.terminal.open_mapping = [[C-t]]
|
||||
lvim.builtin.terminal.size = 15
|
||||
lvim.builtin.terminal.start_in_insert = true
|
||||
lvim.builtin.bufferline.active = true
|
||||
|
||||
-- if you don't want all the parsers change this to a table of the ones you want
|
||||
lvim.builtin.treesitter.ensure_installed = {
|
||||
"bash",
|
||||
"c",
|
||||
"dockerfile",
|
||||
"go",
|
||||
"javascript",
|
||||
"json",
|
||||
"latex",
|
||||
"lua",
|
||||
"make",
|
||||
"python",
|
||||
"typescript",
|
||||
"css",
|
||||
"rust",
|
||||
"java",
|
||||
"vim",
|
||||
"vue",
|
||||
"yaml",
|
||||
}
|
||||
|
||||
lvim.builtin.treesitter.ignore_install = { "haskell" }
|
||||
lvim.builtin.treesitter.highlight.enabled = true
|
||||
|
||||
lvim.plugins = {
|
||||
{ "gruvbox-community/gruvbox" },
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue