aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/nvim/lua/custom/plugins/init.lua
blob: 9ba25cd458d4a1de391b035a22721d29e09170a1 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
local map = require("mapper")

return {
  { "nvim-lua/plenary.nvim", lazy = true },
  { "tpope/vim-repeat",      event = "VeryLazy" },
  'tpope/vim-sleuth',
  {
    'tummetott/unimpaired.nvim',
    keys = { "]", "[", "yo" },
    opts = {
      -- add options here if you wish to override the default settings
    },
  },
  { "kylechui/nvim-surround", config = true },
  {
    "aserowy/tmux.nvim",
    opts = {
      resize = {
        enable_default_keybindings = false,
      },
    },
  },
  {
    "Julian/vim-textobj-variable-segment",
    dependencies = { "kana/vim-textobj-user" },
  },
  {
    "monaqa/dial.nvim",
    config = function()
      map.n("]i", require("dial.map").inc_normal())
      map.n("[i", require("dial.map").dec_normal())
      map.v("]i", require("dial.map").inc_visual())
      map.v("[i", require("dial.map").dec_visual())
    end
  },
  {
    "iamcco/markdown-preview.nvim",
    cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
    build = "cd app && yarn install",
    ft = { "markdown" },
  },
  {
    "kwkarlwang/bufresize.nvim",
    config = true
  },
}