diff --git a/init.lua b/init.lua index 5ed865c9..f5bb59d1 100644 --- a/init.lua +++ b/init.lua @@ -274,3 +274,7 @@ vim.cmd 'set expandtab' vim.cmd 'set tabstop=2' vim.cmd 'set softtabstop=2' vim.cmd 'set shiftwidth=2' + +-- Oil plugin +require('oil').setup() +vim.keymap.set('n', '-', 'Oil', { desc = 'Open parent directory' }) diff --git a/lua/plugins/catppuccin.lua b/lua/plugins/catppuccin.lua new file mode 100644 index 00000000..38eb37e3 --- /dev/null +++ b/lua/plugins/catppuccin.lua @@ -0,0 +1,9 @@ +return { + 'catppuccin/nvim', + name = 'catppuccin', + priority = 1000, + flavour = 'frappe', + init = function() + vim.cmd.colorscheme 'catppuccin-frappe' + end, +} diff --git a/lua/plugins/oil.lua b/lua/plugins/oil.lua new file mode 100644 index 00000000..f1769bad --- /dev/null +++ b/lua/plugins/oil.lua @@ -0,0 +1,6 @@ +return { + 'stevearc/oil.nvim', + opts = {}, + -- Optional dependencies + dependencies = { 'nvim-tree/nvim-web-devicons' }, +} diff --git a/lua/plugins/plugins.lua b/lua/plugins/plugins.lua index 842ee0d8..f24aa17c 100644 --- a/lua/plugins/plugins.lua +++ b/lua/plugins/plugins.lua @@ -558,15 +558,6 @@ return { } end, }, - { - 'catppuccin/nvim', - name = 'catppuccin', - priority = 1000, - flavour = 'mocha', - init = function() - vim.cmd.colorscheme 'catppuccin' - end, - }, --{ -- You can easily change to a different colorscheme. -- Change the name of the colorscheme plugin below, and then @@ -577,7 +568,7 @@ return { -- priority = 1000, -- Make sure to load this before all the other start plugins. -- init = function() -- Load the colorscheme here. - -- Like many other themes, this one has different styles, and you could load + -- Like many other themes, this one has different styles, and you could loadplugins -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. -- vim.cmd.colorscheme 'tokyonight-night'