Skip to content

A simple plugin for gEdit3 that enables the "smart home" option of GTKSourceView

License

Notifications You must be signed in to change notification settings

gdelhumeau/gedit-smarthome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gedit-smarthome

A simple plugin for gEdit to move the cursor to the first non-whitespace character when pressing on the "home" button.

  • When you press the "home" button, then the cursor moves to the first non-whitespace character on the first press and to the beginning of the line on the second press.
  • When you press the "end" button, then the cursor moves to the last non-whitespace character on the first press and to the end of the line on the second press.

This is very usefull. Sadly, gEdit does not offer this option by default.

How to install

Very easy, just create a folder called "smarthome" in the ~/.local/share/gedit/plugins and copy "smarthome.plugin" and "smarthome.py" in it. Then restart gEdit and go to edit>settings>plugins and enable the "SmartHome" plugin.

About

A simple plugin for gEdit3 that enables the "smart home" option of GTKSourceView

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages