diff options
| -rw-r--r-- | lua/config/plugins/colorizer.lua | 14 | ||||
| -rw-r--r-- | lua/config/plugins/comments.lua | 7 | ||||
| -rw-r--r-- | lua/config/plugins/icons.lua | 36 | ||||
| -rw-r--r-- | lua/config/plugins/skin.lua (renamed from lua/config/plugins/colorscheme.lua) | 55 | ||||
| -rw-r--r-- | lua/config/plugins/ux.lua (renamed from lua/config/plugins/lastplace.lua) | 20 | ||||
| -rw-r--r-- | lua/config/plugins/whichkey.lua | 13 |
6 files changed, 75 insertions, 70 deletions
diff --git a/lua/config/plugins/colorizer.lua b/lua/config/plugins/colorizer.lua deleted file mode 100644 index b3ba3c8..0000000 --- a/lua/config/plugins/colorizer.lua +++ /dev/null @@ -1,14 +0,0 @@ -return { - { - "norcalli/nvim-colorizer.lua", - config = function() - require("colorizer").setup({ - css = { css = true }, - sass = { css = true }, - javascript = { rgb_fn = true }, - "haml", - "html", - }) - end, - }, -} diff --git a/lua/config/plugins/comments.lua b/lua/config/plugins/comments.lua deleted file mode 100644 index 1ec45f1..0000000 --- a/lua/config/plugins/comments.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - { - "folke/todo-comments.nvim", - dependencies = { "nvim-lua/plenary.nvim" }, - opts = {}, - }, -} diff --git a/lua/config/plugins/icons.lua b/lua/config/plugins/icons.lua deleted file mode 100644 index 54a924e..0000000 --- a/lua/config/plugins/icons.lua +++ /dev/null @@ -1,36 +0,0 @@ -return { - { - "nvim-tree/nvim-web-devicons", - lazy = false, - config = function() - require("nvim-web-devicons").setup({ - color_icons = true, - default = true, - strict = true, - variant = "dark", - override = { - zsh = { - icon = "", - color = "#428850", - cterm_color = "65", - name = "Zsh" - }, - }, - override_by_filename = { - [".gitignore"] = { - icon = "", - color = "#f1502f", - name = "Gitignore" - }, - }, - override_by_extension = { - ["log"] = { - icon = "", - color = "#81e043", - name = "Log" - }, - }, - }) - end, - }, -} diff --git a/lua/config/plugins/colorscheme.lua b/lua/config/plugins/skin.lua index 056e4b6..5ed13b1 100644 --- a/lua/config/plugins/colorscheme.lua +++ b/lua/config/plugins/skin.lua @@ -61,4 +61,59 @@ return { vim.cmd.colorscheme("kanagawa") end, }, + + { + "norcalli/nvim-colorizer.lua", + config = function() + require("colorizer").setup({ + css = { css = true }, + sass = { css = true }, + javascript = { rgb_fn = true }, + "haml", + "html", + }) + end, + }, + + { + "folke/todo-comments.nvim", + dependencies = { "nvim-lua/plenary.nvim" }, + opts = {}, + }, + + { + "nvim-tree/nvim-web-devicons", + lazy = false, + config = function() + require("nvim-web-devicons").setup({ + color_icons = true, + default = true, + strict = true, + variant = "dark", + override = { + zsh = { + icon = "", + color = "#428850", + cterm_color = "65", + name = "Zsh" + }, + }, + override_by_filename = { + [".gitignore"] = { + icon = "", + color = "#f1502f", + name = "Gitignore" + }, + }, + override_by_extension = { + ["log"] = { + icon = "", + color = "#81e043", + name = "Log" + }, + }, + }) + end, + }, } + diff --git a/lua/config/plugins/lastplace.lua b/lua/config/plugins/ux.lua index f409397..d69db36 100644 --- a/lua/config/plugins/lastplace.lua +++ b/lua/config/plugins/ux.lua @@ -1,4 +1,24 @@ return { + -- WhichKey is a lua plugin that displays a popup with possible keybindings of the command you started typing. + { + "folke/which-key.nvim", + event = "VeryLazy", + init = function() + vim.o.timeout = true + vim.o.timeoutlen = 10000 + end, + opts = { + }, + }, + + -- Delete buffers and close files in Vim without closing your windows or messing up your layout. + { + 'moll/vim-bbye', + keys = { + { '<Leader>q', '<CMD>Bdelete<CR>', desc = 'Delete buffers and close files' }, + }, + }, + -- Intelligently reopen files at your last edit position in Vim. { "ethanholz/nvim-lastplace", diff --git a/lua/config/plugins/whichkey.lua b/lua/config/plugins/whichkey.lua deleted file mode 100644 index beff180..0000000 --- a/lua/config/plugins/whichkey.lua +++ /dev/null @@ -1,13 +0,0 @@ -return { - -- WhichKey is a lua plugin that displays a popup with possible keybindings of the command you started typing. - { - "folke/which-key.nvim", - event = "VeryLazy", - init = function() - vim.o.timeout = true - vim.o.timeoutlen = 10000 - end, - opts = { - }, - }, -} |
