-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Emacs style hard wrapping. #1
Conversation
kaushikcfd
commented
Jun 10, 2020
- Checks for line breaks with every Space keystroke.
- Special treatment for lists, blockquotes, tables.
@inducer: I have added a checkbox for hard wrapping as one of the preferences (off by default). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just played with this. This is great! I'd be happy to deploy, I just would like the C-\
shortcut back. :)
Deployed. |
Thanks 🎉 |
Encountered something about this that isn't ideal: Some lines are just naturally long, e.g. links with long URLs. This change mercilessly butchers those, which left me confused and with no option but to turn it off in the middle of a meeting (and some document wreckage to clean up). |
Just an update: This needs a feature on |
If you continue working on this: Could you bring the C-\ shortcut back? (Despite its flaws, I've found myself wanting it back. One particular thing it offers is the ability to re-wrap a whole paragraph, which AFAIK isn't available now.) |
PR for fixing the wrapping long lines: codemirror/codemirror5#6338. I agree wrapping a selection is a necessary feature. I also find myself hitting Also for the keybinding we could move to something like:
Wdyt? |
That's pretty cool. :)
Totally agree with these. The only reason for |