2

I am using emacs-nox and as some of you know there are always some problems if you want to display you line numbers while also using git-gutter.

(Stuff like some extra margin jumping numbers etc.)

Now here is the thing I allways have a space between my line numbers an my code. (I using the format "%4d ") so I would like to know:

Is there a way to show git gutter after the line numbers? Just right in that empty column. Between my Numbers and my code.

Example:

 7 Code
 8+Code
 9 Code
10 Code
11-Code
12 Code

Stefan talked about using nlinum-mode and diff-hl instead but with those two I have similar problems:

nlinum-mode_and_diff-hl-mode_problems

3
  • I don't understand the question: what you're asking is what I see by default (at least when using nlinum-mode and diff-hl-mode, both from GNU ELPA).
    – Stefan
    Dec 10, 2018 at 14:06
  • @Stefan Hi I've tried to use those but diff-hl is just pushing the line numbers aside. (See in the screenshot)
    – Phillip
    Dec 11, 2018 at 11:48
  • Oh, right, I didn't pay enough attention: hadn't noticed you're running Emacs inside a terminal, so diff-hl and git-gutter can't use the fringe.
    – Stefan
    Dec 11, 2018 at 12:13

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.