Questions tagged [gedit]

gedit is a general purpose and powerful text editor for the GNOME desktop environment, Mac OS X, and Microsoft Windows.

gedit is an UTF-8 compatible editing tool that emphasizes flexibility and ease of use. gedit is open-source software and is licensed under the terms of the GNU General Public License.

Customized gedit with the GMate plug-in package enabled running in Ubuntu 10.10

Features

  • Full support for UTF-8 (internationalized text).
  • Syntax highlighting for most popular languages (C/C++, Java, HTML, Python, Perl, and others).
  • Flexible plug-in system.
  • Tabs and multi-window editing capability.
  • Line numbering, bracket matching, text wrapping, current line highlighting, automatic indentation and automatic file backup.
  • Multi-language spell checking.

Available Plug-ins

gedit comes with a few prepackaged plug-ins. Additional plug-ins are distributed online and can be found on GNOME's gedit page. GMate, a package that enables Textmate-like features is also available through the Github repository for GMate.

Resources

Official gedit website

gedit for Windows

409 questions
218
votes
6 answers

Does "\d" in regex mean a digit?

I found that in 123, \d matches 1 and 3 but not 2. I was wondering if \d matches a digit satisfying what kind of requirement? I am talking about Python style regex. Regular expression plugin in Gedit is using Python style regex. I created a text…
Tim
  • 1
  • 141
  • 372
  • 590
84
votes
11 answers

Math in reStructuredText with LaTeX

I would like to use a lightweight markup language to take notes in my college classes. My editor of choice is gedit, and I found reStructuredText Tools for Gedit, which will run the reStructuredText processor and render the HTML in a pane in gedit.…
Craig Younkins
  • 1,360
  • 2
  • 11
  • 18
68
votes
3 answers

Option to display control characters in gedit

I'm a newbie to Linux. Is there a way to see the control characters in gedit. I went to options->preferences and all I got is option to see the line numbers of the text file. Is there any plugin that needs to be installed to see the same? I'm on…
Santhosh Pai
  • 2,535
  • 8
  • 28
  • 49
63
votes
8 answers

Block commenting in Gedit?

Is there a way to comment out a chunk of highlighted code? I am programming in ruby, and I hate putting # on lines individually.
Jason Kim
  • 18,102
  • 13
  • 66
  • 105
55
votes
4 answers

How to get gedit to auto-indent code

I'm trying to get gedit to auto-indent my code. The auto-indent check-box in preferences doesn't work. Is there a way to get gedit to auto-indent code? (By the way, I only really care about C++ indentation. I don't need indentation for any other…
Linuxios
  • 34,849
  • 13
  • 91
  • 116
46
votes
2 answers

What are those vertical lines in Notepad++ called? The ones that light up for matching brackets or tags, etc

I'd like an actual term for them. Tab lines? I can't find a reference to them on google because i don't know what to search for! I wanna see if there's something like this for Gedit.
trusktr
  • 44,284
  • 53
  • 191
  • 263
43
votes
5 answers

Creating executable files in Linux

One thing I plan to be doing is writing (painfully simple) Perl scripts, and I'd like to be able to run them without explicitly calling Perl from the terminal. I appreciate that, to do this, I need to grant them execute permissions. Doing this with…
user100246
29
votes
8 answers

"Column Mode" in gedit?

I'm transitioning from UltraEdit on Windows to gedit on Linux. So far, the experience is great (there's a lot here for a free tool), but there's one indispensable feature of UltraEdit I can't seem to find a way to replicate -- Column Mode. Column…
Mzzzzzz
  • 4,770
  • 7
  • 30
  • 47
28
votes
3 answers

WSL - GEDIT Unable to init server: Could not connect: Connection refused

I'm using Ubuntu 18.04 as Windows Subsystem for Linux on my Windows 10 machine. I've installed gedit without any errors or warnings. But whenever I try to use the command gedit something (here something is a filename) I get this error: Unable to…
Ayush Basak
  • 449
  • 1
  • 7
  • 15
28
votes
3 answers

How to configure gedit as git core.editor?

I have gedit configured as git core.editor. git config --global core.editor "gedit" This works fine unless there is already a gedit windows open. In that case, COMMIT_EDITMSG is opened in the existing window and gedit returns immediately. Git ends…
Demyn
  • 1,210
  • 1
  • 14
  • 14
27
votes
8 answers

Much needed: well-highlighted JSON log viewer

Using winston for node.js logging, I get json log files. A log file in this vein is simply a sequence of (newline delimited) json objects. This is great for log querying and treating logs as first-class data! However, both Sublime and gedit (at…
matanster
  • 15,072
  • 19
  • 88
  • 167
25
votes
2 answers

Creating your own syntax highlighting in GEdit?

How do you add a 'keyword' to the GEdit list of keywords? I basiclly want to make the printf function look like a keyword. printf("Hello World\n");
Kredns
  • 36,461
  • 52
  • 152
  • 203
25
votes
1 answer

How to redo on gedit

I'm new on Linux and new on gedit, of course. I use Ctrl+Z to undo something, but undo too much and I press Ctrl+Y, which I used to on Windows, but it not redo for me. So, how could I redo on gedit?
Bai Yang
  • 394
  • 2
  • 5
  • 17
18
votes
3 answers

What is the shortcut key to move from one tab to another tab in Gedit?

There are multiple files openned with gedit. Is there any shortcut key to move from one tab to another tab ?
cola
  • 12,198
  • 36
  • 105
  • 165
18
votes
4 answers

Gedit adds line at end of file

The answer to this must be somewhere but I'm not finding it -- can anyone help me understand why in Gedit, if I have a page of code there is no extra trailing blank line, but then when I do a file comparison for my svn commit it shows an extra line…
Sam
  • 1,246
  • 1
  • 19
  • 27
1
2 3
27 28