Graphical editors, such as gedit, can be configured using the preferences menu, and are pretty straightforward.
Enabling tab spacing to be set to 4 spaces and expanding tabs to spaces can be done using the Preferences | Editor tab, as shown in the following screenshot:
Another very useful feature is found on the Preferences | Plugins tab. Here, we ...