How can I map a shortcut to trigger commit(directly into commit msg insert) #582
-
So right now, I can And How can I map a shortcut to open a new tab to just start to type in my msg(already in insert mode). Maybe better: to have some setting to put some msg prefix before I start type in some new msg. like |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Yeah you can set that up in your config by adding |
Beta Was this translation helpful? Give feedback.
-
Are you asking to omit popup and jump directly to message buffer? As for auto adding text, maybe snippets are better solution here? |
Beta Was this translation helpful? Give feedback.
Yeah you can set that up in your config by adding
disable_insert_on_commit = false
or you can even setdisable_insert_on_commit = "auto"
to set it up so that if the commit message is empty, go to insert mode, if there's already a commit message for example in an ammend commit, start with normal mode. You can read about it in the readme here.