Skip to content

One nmap to rule them all #353

Open
Open
@soerenwolfers

Description

@soerenwolfers

Can I use NERDcommenter to create a normal mode map, let's say to ', that does:

  • On a not commented line: Immediately comment out the line
  • On a commented line:
    • If the line doesn't have adjacent commented lines: immediately uncomment the line
    • If the line does have adjacent commented lines
      • Uncomment all of them if ' is pressed again within a time limit (set timeout)
      • Uncomment the current line if ' is not pressed again within a time limit (or any other key is pressed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions