Skip to content

Instantly share code, notes, and snippets.

@paalss
Last active May 13, 2023 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paalss/426a4e94bcd200377779bc26c60d610f to your computer and use it in GitHub Desktop.
Save paalss/426a4e94bcd200377779bc26c60d610f to your computer and use it in GitHub Desktop.

nano ~/.nanorc

sett inn

https://gist.github.com/keithamus/736220/5e069767b22841610ee18fd2f92bd6026f5eb41d

syntax "gitcommit" "COMMIT_EDITMSG$"
color white "#.*"
color green "#.(modified|added|deleted|unmerged|copy-edit|rename).*"
color yellow start="# Changes.*" end="# Changed.*"
color brightgreen "^\+.*"
color brightred "^-.*"
color brightyellow "(diff|index|---|\+\+\+).*"
color brightmagenta "@@.*"
color white "# Changes .*"
color white "# Changed .*"
color white "#.*\(use .*"
color white "#$"

=

farger i git commit vinduet!

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