diff options
Diffstat (limited to 'lua/config/plugins/ux.lua')
| -rw-r--r-- | lua/config/plugins/ux.lua | 37 |
1 files changed, 37 insertions, 0 deletions
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 = { + { '<Leader>q', '<CMD>Bdelete<CR>', 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" }, +} |
