From 70fa6519abe34d9251b4cef6122257fc0edbd4aa Mon Sep 17 00:00:00 2001 From: Marcelo Date: Sun, 30 Mar 2025 04:26:45 -0300 Subject: Moved plugin files into ux.lua and skin.lua. For usability and appearance related, respectively. --- lua/config/plugins/ux.lua | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 lua/config/plugins/ux.lua (limited to 'lua/config/plugins/ux.lua') diff --git a/lua/config/plugins/ux.lua b/lua/config/plugins/ux.lua new file mode 100644 index 0000000..d69db36 --- /dev/null +++ b/lua/config/plugins/ux.lua @@ -0,0 +1,37 @@ +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 = { + { 'q', 'Bdelete', desc = 'Delete buffers and close files' }, + }, + }, + + -- Intelligently reopen files at your last edit position in Vim. + { + "ethanholz/nvim-lastplace", + config = function() + require("nvim-lastplace").setup({ + lastplace_ignore_buftype = { "quickfix", "nofile", "help" }, + lastplace_ignore_filetype = { "gitcommit", "gitrebase" }, + lastplace_open_folds = true + }) + end + }, + + -- vim-fetch enables Vim to process line and column jump specifications + -- in file paths as found in stack traces and similar output. + { "wsdjeg/vim-fetch" }, +} -- cgit v1.2.3