Reputation: 5832
Why Atom can't soft-wrap code like sublime text? I want full screen code but soft-wrap. that means the end of line and close minimap cut line. How i can do that in atom?
Upvotes: 12
Views: 15452
Reputation: 829
This worked for me.
The number is: 99999999999999999999 (I think we can add 2 more 9-s to it).
Upvotes: 0
Reputation: 4435
Add the following to your keymap.cson: Reference
'atom-text-editor':
'f10': 'editor:toggle-soft-wrap'
Second Method
–––––––––––––––––––––––––––––––––––––––––––––––––
Open config.cson. Edit>Open Your Config.
editor:
softWrap: true
Upvotes: 0
Reputation: 1
Upvotes: 0
Reputation: 159105
There are a few settings that can affect soft wrapping in Atom. They are all in the Settings view, accessed by pressing ⌘, (command+comma) if you're using the default keybinds on OS X.
First, to enable soft wrapping, check the "Soft Wrap" checkbox. This will enable soft wrapping at the edge of the window:
If you want to soft wrap at the line down the right side of the editor, check the "Soft Wrap At Preferred Line Length" checkbox:
The line indicates your preferred line length, and you can change its position by editing the number under "Preferred Line Length," which affects wrapping with the above option enabled:
Finally, if you want the wrapped lines to be indented a bit, you can set a value in the "Soft Wrap Hanging Indent" option:
Upvotes: 29