Disable comment on newline


Hitting return from a commented line inserts a newline followed by a commenting character. Can I change this behavior to only insert a newline?


tip: hit enter again, and it will close the comment.


@andreyorst I see, thanks. It doesn’t work in Python, but I can try to adapt it from the C-family kak script.