Skip to content

A Sublime Text 3 to preview the first line of your commit messages

License

Notifications You must be signed in to change notification settings

math2001/CommitMsgPreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitMsgPreview

After discovering this gitmoji guide, I've become a (huge) fan of it.

I also want to respect this convention:

the first line of your commit message should be less than 50 chars

As I consider that an emoji takes up 1 char, and that we have to type the alias instead of the actual character, the ruler that I set doesn't work any more.

So, this plugin just shows the actual line plus it's length under the first one only.

display the line with the converted emojis below the first line

The emojis are coming from the awesome EmojiOne.

You might also like

Here's other stuff you might enjoy:

Use Sublime Text for writing your commit messages

$ git config --global core.editor "subl -n -w"

Note: if subl isn't in your, you need to replace it with the absolute path to subl.exe. It usually located were you installed Sublime Text

GitHubEmoji

Sublime Text package which provides auto completions for GitHub's Emojis (since they are pretty much the same for everyone, it works everywhere).

Git Commit Syntax

An other Sublime Text package which provides a nice syntax highlighting for commit messages. You definitely need this package if you want use the first trick.

Gitmoji cheat sheet

I've built a little cheat sheet for this gitmoji guide using electron. Check it out!

About

A Sublime Text 3 to preview the first line of your commit messages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages