autolist.nvim icon indicating copy to clipboard operation
autolist.nvim copied to clipboard

`TAB` has some bug at Insert mode

Open wqk151 opened this issue 1 year ago • 5 comments

before tab 1

after tab 2

my config

return {
  "gaoDean/autolist.nvim",
  priority = 1,
  ft = {
    "markdown",
    "text",
  },
  config = function()
    require("autolist").setup()
    vim.keymap.set("i", "<tab>", "<cmd>AutolistTab<cr>")
    vim.keymap.set("i", "<s-tab>", "<cmd>AutolistShiftTab<cr>")
    vim.keymap.set("i", "<CR>", "<CR><cmd>AutolistNewBullet<cr>")
    vim.keymap.set("n", "o", "o<cmd>AutolistNewBullet<cr>")
    vim.keymap.set("n", "O", "O<cmd>AutolistNewBulletBefore<cr>")
    vim.keymap.set("n", "<CR>", "<cmd>AutolistToggleCheckbox<cr><CR>")
    vim.keymap.set("n", "<C-r>", "<cmd>AutolistRecalculate<cr>")
  end,
  dependencies = {
    {
      "windwp/nvim-autopairs",
      event = "VeryLazy",
    },
  },
}

wqk151 avatar Oct 18 '23 02:10 wqk151