Some times I'm editing a commit and I noticed there isn't a gitmoji associated with it. When that happens I put the cursor on the beginning of the line and call gitmoji-insert-emoji, and every time I need to get back to insert mode to add an additional whitespace.
Perhaps we could have an option (defcustom?) to append a whitespace after inserting the gitmoji. Or maybe check the region in front and if we're inserting next to anything other than a whitespace, automatically insert the whitespace. WDYT?
Interesting idea! I think that does make sense to add — if you have an idea of how to do it, you're welcome to submit a PR, otherwise I'll look into it when I can 😄
Some times I'm editing a commit and I noticed there isn't a gitmoji associated with it. When that happens I put the cursor on the beginning of the line and call
gitmoji-insert-emoji
, and every time I need to get back to insert mode to add an additional whitespace.Perhaps we could have an option (
defcustom
?) to append a whitespace after inserting the gitmoji. Or maybe check the region in front and if we're inserting next to anything other than a whitespace, automatically insert the whitespace. WDYT?