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?
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:
keymap.cson
: 'atom-text-editor': 'alt-z': 'editor:toggle-soft-wrap'
(see this) –
Safari - click on the file in your atom editor, there you can see settings option.
- click on the settings option or you can use the shortcut control+comma(ctrl+,).
- Then click on the editor tab.
- scroll down below and you get the option called soft wrap.
- click on the soft wrap option .
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
© 2022 - 2025 — McMap. All rights reserved.
alt + z
to atom for toggling soft wrap. – Chinua