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
3
votes
4 answers

"xdg_runtime_dir not set in the environment" and pkexec doesn't work

I try to execute the following line on ubuntu-server 14.04: $ sudo gedit /usr/local/svn/passwd-team and I get this error: error: XDG_RUNTIME_DIR not set in the environment. (gedit: 11805): Gtk-WARNING **: can not open display: I Googled for help…
Orian Zinger
  • 87
  • 1
  • 2
  • 11
3
votes
2 answers

Gedit folding plugin

I am looking folding plugin for gedit. I tried gedit-folding, but it did not satisfy me. Maybe that tells something.
3
votes
2 answers

Configure clojure syntax highlighting for gedit

How can gedit be configured to highlight Clojure source files? By default it treats .clj files as plain text.
Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
3
votes
1 answer

Add programming language to gedit external tools?

The gedit external tools plugin allows tools to apply to only one or more of a predefined list of file types. How do I define my own file types?
cmc
  • 4,294
  • 2
  • 35
  • 34
3
votes
3 answers

View newline and tab chars in Linux text editor

In Notepad++, you can go to View > Show Symbol > Show All Characters and see where the newline and tabs chars are. This is useful, because it allows you to easily identify where an indent is made with spaces instead of tabs (Very important in…
neelsg
  • 4,802
  • 5
  • 34
  • 58
3
votes
3 answers

Syntax highlighting in gedit not working automatically

I'm trying to use Ubuntu for Rails development and I'm liking gedit except the syntax highlighting does not seem to work with out me setting it for each file I open. Should it not recognize a .rb file a ruby file rather than me having to go into the…
kieranwild
  • 199
  • 2
  • 10
3
votes
0 answers

Is there any way to get the embedded terminal gedit plugin in the mac version?

I downloaded gedit for mac and it seems like there is no embedded terminal plugin in the plugin selection preferences. Is there any way to get it?
Daniel Shaulov
  • 2,354
  • 2
  • 16
  • 25
3
votes
3 answers

Setup Gedit For C++ Development

I'm starting in C++ development, but i like to use Gedit for writing the files, but like for Ruby on Rails and many other languages, are some tools and configurations for Gedit that makes develop more easy and comfortable, and another question, what…
Nathan Campos
  • 28,769
  • 59
  • 194
  • 300
3
votes
2 answers

Linux gedit and the terminal

Whenever I am using gedit to write code I can access either gedit or the terminal but not both. For example, when I type gedit hello.c linux brings up the file hello.c inside gedit. Now, while gedit is still displaying hello.c I cannot type anything…
CodeKingPlusPlus
  • 15,383
  • 51
  • 135
  • 216
2
votes
2 answers

Gedit file browser shortcuts?

What shortcuts do you use for file navigation in Gedit? Does anyone use the file browser? I thought that these shortcuts would exist, but I can't find anything about them: switch focus to/from the file browser. disclose folder contents. (Most…
Sauce McBoss
  • 6,567
  • 3
  • 20
  • 22
2
votes
3 answers

Emacs inside of gedit?

After years of experimentation with editors, the fact is I prefer them as minimal as possible. I never use fancy features and the full-feature IDE's become bloated, heavy, and slow. Of course, when I do something that pretty much requires a specific…
seibelj
  • 890
  • 2
  • 10
  • 22
2
votes
2 answers

Git false positives after Ubuntu upgrade

Started a Git repository under Ubuntu 9.10. Finally upgraded to 10.04. Current Git is 1.7.0.4. Now when I edit a file (with gedit) that was last changed before the upgrade, then commit, the commit is full of false-positive changes, ~400 lines out of…
Liam
  • 495
  • 6
  • 21
2
votes
2 answers

How do you create a date snippet in gedit?

Specifically, I would like to use a keyboard shortcut instead of the 'Insert Date and time...' plugin. This snippet will be used for log files that are used frequently. The snippet will allow for formatting such as line feeds and dashed-line…
Glenn Wark
  • 1,499
  • 4
  • 19
  • 23
2
votes
0 answers

open gedit with shell script and then do another process after closing gedit

I have the following script echo "Please Specify the Name of the file" read file echo "Please copy and paste the information into ${file} and press save and close." gedit ${file} echo "You now have ${file} to be processed" How do I tweak the…
jms1980
  • 1,017
  • 1
  • 21
  • 37
2
votes
2 answers

Gedit with Git in Windows?

Is there any way to use Gedit as the core.editor for Git in Windows?
Sean
  • 1,149
  • 18
  • 28