summaryrefslogtreecommitdiff
path: root/lua/config/plugins/ux.lua
blob: d69db369f55f3dede73a28269321e2b7717e671e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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" },
}