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 { require('lualine').setup {
options = { options = {
icons_enabled = true, 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 ]]

View File

@ -31,7 +31,6 @@
"nvim-treesitter-textobjects": { "branch": "master", "commit": "85b9d0cbd4ff901abcda862b50dbb34e0901848b" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "85b9d0cbd4ff901abcda862b50dbb34e0901848b" },
"nvim-web-devicons": { "branch": "master", "commit": "3e24abe1ae66532135cec911562f553fe247cb56" }, "nvim-web-devicons": { "branch": "master", "commit": "3e24abe1ae66532135cec911562f553fe247cb56" },
"onedark.nvim": { "branch": "master", "commit": "c5476a091b0f1b4e853db91c91ff941f848a1cdd" }, "onedark.nvim": { "branch": "master", "commit": "c5476a091b0f1b4e853db91c91ff941f848a1cdd" },
"oxocarbon.nvim": { "branch": "main", "commit": "c5846d10cbe4131cc5e32c6d00beaf59cb60f6a2" },
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" }, "plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
"rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" }, "rose-pine": { "branch": "main", "commit": "92762f4fa2144c05db760ea254f4c399a56a7ef5" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" }, "telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },

View File

@ -14,9 +14,6 @@ return {
-- latte, frappe, macchiato, mocha -- latte, frappe, macchiato, mocha
{ "catppuccin/catppuccin", priority = 1000, }, { "catppuccin/catppuccin", priority = 1000, },
-- Theme inspired by Atom
{ 'navarasu/onedark.nvim', priority = 1000, },
--Rosepine (Primeagen) --Rosepine (Primeagen)
{ {
'rose-pine/neovim', 'rose-pine/neovim',