refactor(after-plugins): Divide defaults.lua into two files

Divide defaults.lua into two files, settings.lua and lualine-config.lua
This commit is contained in:
rajvatsal 2024-01-05 19:10:28 +05:30
parent 96627e3b57
commit 41ca04755f
4 changed files with 7 additions and 13 deletions

View file

@ -1,12 +1,3 @@
vim.go.tabstop = 2
vim.go.shiftwidth = 2
vim.go.expandtab = true
vim.bo.softtabstop = 2
vim.go.relativenumber = true
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]], { noremap = true })
vim.cmd.colorscheme 'rose-pine' -- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]
-- Lualine config
require('lualine').setup {
options = {
icons_enabled = true,

View file

@ -0,0 +1,7 @@
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.bo.softtabstop = 2
vim.opt.relativenumber = true
vim.keymap.set('t', '<Esc>', [[<C-\><C-n>]], { noremap = true }) -- Set keymap to exit terminal using 'exit'
vim.cmd.colorscheme 'rose-pine-main' -- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]]