Skip to content

*Not* continue comment on enter #12815

Answered by nik-rev
lambda-dom asked this question in Q&A
Discussion options

You must be logged in to vote

You can also create keybindings to create a newline without adding a comment token:

[keys.normal.g]
O = ["open_above", "delete_word_backward"]
o = ["open_below", "delete_word_backward"]

[keys.insert]
A-ret = ["insert_newline", "delete_word_backward"]

This is what I use and it's quite effective

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@lambda-dom
Comment options

@ficcdaf
Comment options

Answer selected by lambda-dom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants