Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Michael Kohl 馃嚘馃嚬馃嚬馃嚟
@citizen428@chaos.social  路  activity timestamp 3 weeks ago

If you use #vim or #neovim as your #git commit editor, you can automatically put it in insert mode by setting `core.editor` or the `GIT_CONFIG` environment variable to `vim +startinsert!`.

  • Copy link
  • Flag this post
  • Block
gullevek 鈽笍 馃嚡馃嚨
@gullevek@famichiki.jp replied  路  activity timestamp 3 weeks ago

@citizen428 Hmm. I think I have this set because never have to go into insert mode. But I have no recollection on ever setting this

  • Copy link
  • Flag this comment
  • Block
Michael Kohl 馃嚘馃嚬馃嚬馃嚟
@citizen428@chaos.social replied  路  activity timestamp 3 weeks ago

You can of course also achieve that through (n)vim specific configuration, e.g. an auto command for the `gitcommit` file type or an `ftplugin` setting. But I prefer configuring this on the git side.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login