As title, I’v installed mini.comment plugin, but when I type gc for commenting a line nothing happen. How can I know what’s wrong without disable every other extension or proceding incrementaly from scratch? (don’t want to intterrupt my workflow) Thanks

  • SkipperWannabe@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Try using :verbose nmap gc to find out what the shortcut is currently mapped to.

    I don’t use mini.comment, but I assume it needs an operator after gc to for commenting. I have seen gcc used to comment out the line. Just wanted to make sure you are using the correct mapping.

    • dafunkkk@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      This is what is showed after doing :verbose namp gc, seems that all is ok…still if I press gc // on commentig line a search command is done…if I try on commented line with gcc command the line is cleared…

      n g * lua require(“which-key”).show(“g”, {mode = “n”, auto = true}) Last set from Lua

      n gcc * Comment line Last set from Lua line 293

      n gc * Comment Last set from Lua line 293