Sublime's "Find in Files" (CTRL-SHIFT-F or CMD-SHIFT-F) search results always have word wrap on by default. This is really annoying whenever a file containing a single huge line of text gets caught in the results, since:
It's possible to disable word-wrap from the "View" menu, but this change doesn't persist after closing the "Find Results" tab.
Is there a way to turn off word wrap for all Find Results?
To disable Word Wrap in Sublime Text 3, you need to click on “View” in the top bar, then untick “Word Wrap”. This will completely disable the Word Wrapping feature. Click on “View” in the top bar, then untick “Word Wrap”.
The only way to enable word - wrap is to do it on a per file basis, by going to View -> Word Wrap (tick).
HTML | <td> nowrap Attribute The HTML <td> nowrap Attribute is used to specify that the content present inside the cell should not wrap. It contains the Boolean value.
You can also set it manually, without code just go to Sublime Text check the menus, click on view menu and in there click on the word wrap.
Yes, with the Find Results tab active (ensure the "Use Buffer" option is enabled in the Find in Files panel to get a tab instead of an output panel when you perform the search), you can navigate to the Preferences -> Syntax Specific
menu item and enter:
"word_wrap": false,
and save it. This will ensure that word wrap is always disabled for Find Results.
(You can always turn "Use Buffer" off again afterwards, it's only necessary for the menu item to open the correct syntax specific settings file, which is Packages/User/Find Results.sublime-settings
.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With