arch-wiki-md-repo
Version:
All arch-wiki articles in markdown format, updated every two days.
47 lines (28 loc) • 2.03 kB
Markdown
* [1 Installing](
* [2 Configuration](
* [2.1 Do not end files with a new line](
* [2.2 Save backup versions of edited files](
* [3 Spell Checking](
* [4 Plugins](
* [4.1 Adding and making custom plugins](
* [5 See also](
[](/index.php/Install "Install") the [gedit](https://www.archlinux.org/packages/?name=gedit) package.
If you want to ensure that gedit does not end files with a newline, execute the following:
```
$ gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false
```
If desired, gedit can create a backup copy of an edited file - the contents of the backup file will be the same as the contents of the original file before the edit was made and then saved. The backup file's name will be the same as original file's name but suffixed with a ~ symbol. Hence, for the file called `file1` the backup copy would have the name `file1~`. Backup files are hidden by default.
To enable this behaviour, access gedit's Preferences panel (for GNOME Shell users, this can be found in gedit's global menu). In the preferences panel, click on the *Editor* tab and tick the option *Create a backup copy of files before saving.*
In order to use spell checking in gedit you need an [aspell](/index.php/Aspell "Aspell") dictionary.
Some plugins are available in the [gedit-plugins](https://www.archlinux.org/packages/?name=gedit-plugins) package.
A plugin that shows errors while you type for languages like C, C++, etc, is available as [gedit-code-assistance](https://www.archlinux.org/packages/?name=gedit-code-assistance).
* [Apps/Gedit - GNOME Wiki!](https://wiki.gnome.org/Apps/Gedit)