Word wrap in gedit
Asked Answered
N

5

17

I am using gedit & I have a very huge line and I am not able to see that complete line because gedit gets stucking.
so, I wanted to do word wrapping in gedit.
I searched but I didnt found word wrap option in gedit.

How I can do wrapping in gedit?

Nitroglycerin answered 27/4, 2012 at 5:26 Comment(0)
E
11

Check Gedit preferences, or else you can use TextWrap

Endomorph answered 27/4, 2012 at 5:54 Comment(1)
Preferences -> Tab. View -> Text Wrapping -> Enable text wrapping -> checkCapsicum
A
8

In the gedit Text Editor menu click Edit, and then click Preferences. A popup named gedit Preferences opens up. In the same popup on the first Tab named View, under the sub-heading Text Wrapping click the check box named Enable text wrapping, to toggle the text wrap feature on or off.

These steps have been tested for gedit 3.10.4 version running on Ubuntu 14.04 LTS.

Agentive answered 10/8, 2017 at 7:12 Comment(0)
T
5

Check in the status menu in the lower bottom corner of the Gedit window.

screenshotgedit

If you want to do it in a as per-file basis, you can use modelines https://help.gnome.org/users/gedit/stable/gedit-plugins-modelines.html.en.

For example have a comment in the first line of your text file. In this case, autowrap:nil will suppress text wrapping.

// -*-indent-tabs-mode:t;c-basic-offset:4;tab-width:4;autowrap:nil;-*-
Tapley answered 20/4, 2020 at 3:37 Comment(0)
D
1

For Ubuntu 22.04:

  1. Open Preferences by Clicking on the hamburger menu on the top-right.
  2. Click on the View tab
  3. Under the Text wrapping section >> Check 'Enable text wrapping' >> Uncheck 'Do not split words over two lines'.enter image description here
Dendrite answered 22/4, 2023 at 19:13 Comment(0)
S
0

The most complete list of Gedit plugins I know of can be found at wiki.gnome.org. It includes a.o. the Text Wrap plugin.

[To install it,] you need to download the files and put them in your ~/.local/share/gedit/plugins/ directory (which may need to be created). They need to be in that exact directory; subdirectories are not scanned for plugins. [copied from that page]

Selffulfillment answered 30/6, 2013 at 11:58 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.