Skip to content

Git Gutter plugin#3248

Merged
elfmz merged 4 commits into
elfmz:masterfrom
exkrexpexfex:markmodif
May 24, 2026
Merged

Git Gutter plugin#3248
elfmz merged 4 commits into
elfmz:masterfrom
exkrexpexfex:markmodif

Conversation

@exkrexpexfex

Copy link
Copy Markdown
Contributor
image

Experimenting with multiline colored edit over colored editor.

The plugin adds a vertical gutter column with colored marks showing how the current editor buffer differs from a chosen git baseline (HEAD by default; index/unstaged/branches selectable in GitGutter options). Clicking a mark opens a popup diff (colored according to change type) with prev/next navigation and a Revert button. Revert applies changes via editor operations. Colors are configurable in the GitGutter config dialog. If the current file is not in a git repository, the plugin does nothing.

@tempergate

Copy link
Copy Markdown
Contributor

works fine
image

@tempergate

Copy link
Copy Markdown
Contributor

Not important bug
scroll by mouse under gitter dialog not working, scrolls only with a keyboard

image

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@tempergate yes, waiting for editor mouse fixes to be merged to refactor this properly

@exkrexpexfex exkrexpexfex force-pushed the markmodif branch 2 times, most recently from 724671b to 6b26832 Compare February 24, 2026 18:26
@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

Rebase and squash, no changes. In order to make @tempergate's build system happy. This is ready to merge, if acceptable.

@tempergate

Copy link
Copy Markdown
Contributor

need to be actualized to current master

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@tempergate please check now

@tempergate

Copy link
Copy Markdown
Contributor

@tempergate please check now

works correctly, ready to merge again

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

rebased again, added 2 fixes on top for performance on redraw and settings dialog default OK button

@tempergate

Copy link
Copy Markdown
Contributor

@elfmz , please note that plugin, it is very useful when far2l-edit is used as default user session editor

@tempergate

Copy link
Copy Markdown
Contributor

@exkrexpexfex , there is a new conflict after editor patches

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@tempergate rebased, please check

@tempergate

Copy link
Copy Markdown
Contributor

@tempergate rebased, please check

works correctly, thanks
image

Comment thread far2l/far2sdk/farplug-wide.h Outdated
@elfmz elfmz merged commit 8e75605 into elfmz:master May 24, 2026
12 checks passed
@exkrexpexfex exkrexpexfex deleted the markmodif branch May 24, 2026 13:30
@spnethw

spnethw commented May 25, 2026

Copy link
Copy Markdown
Contributor

Плагину не помешала бы справочка...

@exkrexpexfex

Copy link
Copy Markdown
Contributor Author

@spnethw сделал, посмотри #3413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants