Official text editor of the GNOME desktop environment

learn more… | top users | synonyms

7
votes
2answers
14k views

Questions about using Regex Search & Replace in gedit

I am trying to use Regex Search & Replace plugin of gedit. I want to search a digit that repeats 2 or 3 times, so I thought the regex was [0-9]\{2,3\} But it doesn't match the target it ...
13
votes
2answers
11k views

Recommend regular expression plugin for gedit?

I would like to do some search and/or replace using regular expression in gedit. If I am correct, by default it is impossible to do this. So I was wondering if someone can recommend some nice plugin ...
2
votes
3answers
299 views

Programming language api sidebar in gedit

Im not sure this is an SO question or not, but is there a plugin for gedit to enable me to have the api for a particular language open in a sidebar? Im currently working in Java, and it would be ...
4
votes
3answers
4k views

How to create a new file?

I've tried gksudo gedit /etc/xinetd.d/tftp (This is the file I have to create) I got an error message couldn't find the file /etc/xinetd.d/tftp please check that you typed the location ...
6
votes
2answers
1k views

How can you print a text file via gedit from the command line?

I'd like to use gedit or some similar program just as a page formatter and pipe some text through it and onto the printer. | lpr just doesn't cut it in the presentation department. The printed output ...
2
votes
1answer
306 views

Ruby Script Runner for Ubuntu Gedit

I have this Java script runner installed in my gedit external tools: #!/bin/sh cd $GEDIT_CURRENT_DOCUMENT_DIR if javac $GEDIT_CURRENT_DOCUMENT_NAME; then java ${GEDIT_CURRENT_DOCUMENT_NAME%\.java} ...
2
votes
2answers
387 views

How can I place Gedit's tab close buttons on the left?

I would like to make Gedit fit more to the Ubuntu default themes Ambiance and Radiance. Therefore I would like to place the tab close buttons on the left instead of the right of each tab. I asked a ...
4
votes
2answers
276 views

Bash keybindings that match those of gedit?

I want to have the same keybindings in gedit and in bash. Namely all the selections, also cut, copy and paste. I know there are some important ones that are already taken (Ctrl+C, Ctrl+W, etc), ...
3
votes
1answer
397 views

Why am I getting this error while using gedit?

(gedit:4778): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed What does this error mean?
4
votes
2answers
4k views

Gtk warning when opening Gedit in terminal

Previously, I need to clear documents history, so I Googled and found this: http://www.watchingthenet.com/ubuntu-tip-clear-disable-recent-documents.html I did the step, and then when I opened gedit ...
8
votes
4answers
1k views

Two gedit plugins clash. How to change shortcut keys, or enable/disable a plugin

Gedit has two plugins from Gnome's Gedit Plugins page which I both particularly want... Multi-edit Control Your Tabs However they both vie for the same shortcut keys: Ctrl+PageUp and ...
6
votes
3answers
2k views

Getting Quickly to use Gvim instead of Gedit

How do I get Quickly to use Gvim (or just vim in a terminal) as its default text editor instead of Gedit? If this can be done, I must be doing it wrong... Ubuntu 10.10 AMD64.
23
votes
4answers
10k views

Can I toggle word-wrapping on/off quickly in Gedit?

Depending on nature of the text, sometimes line wrapping is convenient, sometimes it is just confusing. And every time I need to switch this (pretty frequently) I have to do to View - Preferences - ...
3
votes
1answer
13k views

How can I edit my httpd.conf file?

I have XAMPP installed, and need to edit my httpd.conf file to add a virtual host block. If I right-click on the file in Nautilus and open with gedit, I can see all the content, but it's read-only. ...
13
votes
1answer
4k views

Gedit plugin for HTML tag match

Is there a Gedit plugin for highlighting HTML matching tag? If so then please suggest me. For example in this sample: <div> //div1 <div> //div2 </div> //end of div2 ...
7
votes
1answer
14k views

Using “Oblivion” color scheme from gedit in Kate

I like gedit's color scheme Oblivion a lot. Is there a way to use the same color scheme in Kate text editor? I know that configuration files for color scheme for gedit and Kate aren't compatible. I ...
1
vote
2answers
427 views

Error while opening tex files in gedit

I use 5.8.5 version of notepad++. The .tex file that I have edited on notepad++ could not be opened on gedit. The error I get is "character set could not be recognized"
1
vote
2answers
593 views

How do I configure keyboard commands?

In Windows I never turn my NumLock on. I navigate through the page line with Home and End, and when I want to mark a line I use them in a combination with the Shift key. Pretty basic stuff right? Well ...
8
votes
1answer
351 views

How can I run gedit with a different configuration

I want to use gedit as a programming IDE and as a regular text editor. Would I be able to make some .desktop file to load a different configuration?
3
votes
2answers
4k views

Auto indentation in Gedit

I'm using Gedit to program C and CPP, and I've enabled auto indentation in Edit->Pref. However, it still doesn't work. Is there anything I can do?
5
votes
3answers
641 views

Does Geany or Gedit provide a browser protocol in the way Textmate does with txmt://?

Textmate on the Mac can be bound to the txmt protocol, meaning that development frameworks (such as the Play Framework) can be configured to use this to display error messages. If a stacktrace ...
3
votes
1answer
502 views

Is there ruby syntax validation plugin for gedit?

I am using the https://github.com/gmate/gmate setup, but it lacks a ruby syntax validation plugin. Where can I find one? Tnx!
5
votes
5answers
4k views

gedit + sshfs won't save (vi saves fine!)

I mounted a remote directory using sshfs and I can't save files using gedit, while saving same file using vi works. Changin permission to o-r (640) allows gedit to save files OK. Is there a way to ...
23
votes
2answers
13k views

How to stop Gedit, Gvim, Vim, Nano from adding End-of-File newline char?

Sometimes I want the last line of a text file to be a simple string of text with no newline character appended: ...eg. to concatenate another file to it. Several editors automatically modify my ...
21
votes
6answers
7k views

When creating a new text file, should I add a .txt extension to its name?

When I create a new document aimed at containing only plain text, I am not obliged by Ubuntu to add a .txt extension to its name. It works indeed very well: gedit opens it without problem, ...
6
votes
4answers
3k views

Synaptic remove “gedit” wants to remove “ubuntu-desktop”. How can I reinstall “gedit”?

I want to make a clean start with gedit; ie. remove all customization. Synaptic Package Manager, indicated that ubuntu-desktop would also be removed! Well, that sounded to be a bit on the ...
3
votes
3answers
785 views

Is there a gedit plugin that adds search features?

I'm hoping to add search and replace within selection and search within files. Having a search option in the context menu would also be handy.
4
votes
3answers
7k views

gedit can't recognize character encoding, but gvim can

I have a lot of plain text files which come from a Windows environment. Many of them use a whacky default Windows code-page, which is neither ASCII (7 bits) nor UTF-8. gvim has no problem opening ...
2
votes
1answer
681 views

gedit plugin development in C

I'm Interesting to write gedit-plugins in C I've checked that http://live.gnome.org/Gedit/NewMDIPluginHowTo but i find it not good to start How can I get another informations about writing gedit ...
5
votes
3answers
1k views

Automatically indenting text that wraps to the next line in Gedit

I have a problem where text that wraps around to the next line is not indented so that it is aligned with the start of the upper line, and I end up with paragraphs of text identical to ...
6
votes
3answers
647 views

Is there a way to launch gedit in fullscreen mode?

Is there a command I can run to launch gedit in fullscreen mode?
22
votes
3answers
10k views

Is there code folding for gedit?

Does anyone know about a way to get code folding in gedit, I've found this plugin in google code, but looks like dead and doesn't work with the latest gedit. Any idea is wellcome
4
votes
1answer
993 views

Changing the colour of 'string' in Gedit when typing C++

I'm using Gedit to write C++ code, and have applied my custom syntax colour scheme which works (and looks) great with the exception of the string type, which, for both my custom style and the various ...
13
votes
7answers
26k views

True column-mode (block-selection and editing) text editor solution?

In windows, I used to use a text editor called crimson editor which featured the best column-mode editing support I have yet to use. When enabled via a simple Alt-C shortcut, selections could be made ...
10
votes
7answers
1k views

Support for various features in gedit

I'm trying to use gedit as my main editor, and am looking for help with some tricky features. For each of the following, can people help me out with how to install and configure the feature? code ...
14
votes
3answers
9k views

Is there Split Pane support in Gedit?

I know some other text editors like Notepad++ enable split pane to edit to files side by side. Is there any way I can add this functionality to Gedit?