Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

One nmap to rule them all #235

Open
soerenwolfers opened this issue Dec 20, 2018 · 0 comments
Open

One nmap to rule them all #235

soerenwolfers opened this issue Dec 20, 2018 · 0 comments

Comments

@soerenwolfers
Copy link

soerenwolfers commented Dec 20, 2018

Can I use tcomment 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)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant