From ffd731bacbbf89392c5abab82a34fd9d8d1dcbaf Mon Sep 17 00:00:00 2001 From: Marc Talcott Date: Tue, 11 Jun 2024 07:18:37 -0400 Subject: [PATCH 1/3] add oil plugin --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) 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' }) From 910d9980771d33f765b29f2fb03ca2e4fbe4843c Mon Sep 17 00:00:00 2001 From: Marc Talcott Date: Tue, 11 Jun 2024 07:24:27 -0400 Subject: [PATCH 2/3] added missing plugin file for oil --- lua/plugins/oil.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lua/plugins/oil.lua 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' }, +} From 25d21a23d0e2752135eb0a04d0ae78269ea899b1 Mon Sep 17 00:00:00 2001 From: Marc Talcott Date: Tue, 11 Jun 2024 08:37:55 -0400 Subject: [PATCH 3/3] set colorscheme to frappe --- lua/plugins/catppuccin.lua | 9 +++++++++ lua/plugins/plugins.lua | 11 +---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 lua/plugins/catppuccin.lua 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/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'