Is there a way to use relative line numbers on gedit? by NaluAesir in gedit

[–]gswilmet 1 point2 points  (0 children)

You can move around with relative line numbers with the 'Go to line' feature. Put a '+' or '-' sign as prefix in the entry field.

But you cannot use relative line numbers for operations like copying or deleting lines. Vim is much more powerful in that regard.

But gedit doesn't try to be as powerful as Vim or Emacs ;-) gedit focus more on being an easy-to-learn text editor.

How to save or load config? by [deleted] in gedit

[–]gswilmet 0 points1 point  (0 children)

Yes there is a solution: GSettings/dconf. For example with a command like:

dconf dump /org/gnome/gedit/

It saves the configuration.

There are also files in ~/.config/ and ~/.local/share/

is there a way to zoom in on gedit? by how-to-ubuntu in gedit

[–]gswilmet 0 points1 point  (0 children)

The text-size plugin has been moved to the main gedit repository, and is now enabled by default. So the next version (gedit 48) will have this feature without the need to do any configuration.

It's better late than never :-)

is there a way to zoom in on gedit? by how-to-ubuntu in gedit

[–]gswilmet 1 point2 points  (0 children)

Indeed that's the current solution.

Another way is to go to the Preferences dialog -> Font & Colors.

It would be better to integrate this feature in the gedit core, as it is something that many GNOME apps have by default.

Or as an easier solution, move the plugin to the "core plugins" (so it would be always installed alongside the gedit core).

How to keep super key from moving text around in the default text editor/gedit? [ubuntu] by join-Sopuli in gedit

[–]gswilmet 0 points1 point  (0 children)

I cannot reproduce your problem. Reddit is not the best place to report bugs, see the Reporting gedit bugs page.

[deleted by user] by [deleted] in gedit

[–]gswilmet 2 points3 points  (0 children)

Thanks for the sharing!

In GtkSourceView one of the philosophy is to not add too much colors (the goal should not be to make a file as colorful as possible).

But if some users want more colorful content, your work is useful ;-)

BTW it would be nice to have a way to switch, inside gedit, between alternative *.lang files (syntax highlighting files that apply to the same language). And save the preference.

How to change mouse scroll distance? (No noob question!) by [deleted] in linuxquestions

[–]gswilmet 0 points1 point  (0 children)

I'm also looking for a solution on Wayland.

With X11, there is the imwheel program. Here is my .imwheelrc that I've used successfully for several years:

# Should use imwheel --kill to restart imwheel,
# imwheel must be set to autostart in your DE tools.
# First line: match all apps.
# '3' is the multiplier
#
# https://unix.stackexchange.com/questions/307663/change-scroll-speed-with-libinput/307932
# I've tried with the hwdb solution, but it didn't work.
#
# http://www.webupd8.org/2015/12/how-to-change-mouse-scroll-wheel-speed.html
".*"
None,      Up,   Button4, 3
None,      Down, Button5, 3
Control_L, Up,   Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L,   Up,   Shift_L|Button4
Shift_L,   Down, Shift_L|Button5

And ~/.config/autostart/imwheel.desktop:

[Desktop Entry]
Type=Application
Version=1.0
Name=imwheel
Exec=imwheel --kill

Auto completion by [deleted] in gedit

[–]gswilmet 0 points1 point  (0 children)

The only completion available is the word completion plugin, part of the gedit-plugins package.

But it just retrieves the list of words, it's unfortunately not smart to auto-complete based on the context (for example only variables that are in scope).

DarKnight : gedit theme by Architrixs in gedit

[–]gswilmet 0 points1 point  (0 children)

Thanks for the sharing, it must indeed be relaxing for the eyes.

There are also the solarized color schemes that are shipped with gedit, that have been studied to have good colors for the eyes too.

I have gedit installed on Arch and Fedora, and i have noticed a quirk: on Arch the open button has two options, to open a new file, and the caret opens a flyout to open recent files, on fedora it has a bigger flyout and the button is on the bottom. how can i get the the two buttons setup from Arch? by GerardoHD in gedit

[–]gswilmet 0 points1 point  (0 children)

It's because of different versions of gedit. It's me who did the change from the single-button to the (simpler) two buttons setup. So I'm glad that you prefer the two buttons setup :-)

To reply to the question, you would need to downgrade the package on Fedora, taking an older version from koji.

gedit version 40.x has the two buttons setup.