Magit: Keybindings for magit-browse-thing and magit-edit-thing

Created on 12 Nov 2018  路  3Comments  路  Source: magit/magit

I plan to release forge later this week. It provides implementations for the magit-browse-thing and magit-edit-thing stub commands (by binding [remap magit-{browse,edit}-thing].

I was planning on using these bindings:

  1. C-c C-b magit-browse-thing
  2. C-c C-e magit-edit-thing

however these conflict with existing bindings:

  1. C-c C-b magit-go-backward in log and diff buffers
  2. C-c C-e magit-dispatch-popup (also available on C-c C-c)

so I think I will use C-c C-e but if we use C-c C-b for this, then we have to find other bindings for magit-go-backward (and magit-go-forward).

Any suggestions?

Most helpful comment

Which reminds me, I picked C-c C-b and C-c C-b for magit-go-{backward,forwward} because those keys are used in help-mode buffers. So I am going to stick with that (even though I think you were trying to suggest something else).

I went with:

  1. C-c C-w magit-browse-thing for web
  2. C-c C-e magit-edit-thing

All 3 comments

Are C-c C-[ and C-c C-] taken? I find them quite natural when working in Help buffers (though I have the plain [ and ] bound)

Which reminds me, I picked C-c C-b and C-c C-b for magit-go-{backward,forwward} because those keys are used in help-mode buffers. So I am going to stick with that (even though I think you were trying to suggest something else).

I went with:

  1. C-c C-w magit-browse-thing for web
  2. C-c C-e magit-edit-thing

I can always get behind the magithub bindings :wink:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mgalgs picture mgalgs  路  4Comments

razzmatazz picture razzmatazz  路  3Comments

ipburbank picture ipburbank  路  3Comments

mrmagooey picture mrmagooey  路  4Comments

mrkkrp picture mrkkrp  路  5Comments