Skip to content

Merge request fuzzy finder shortcut interferes with readline keybindings

The merge request page has some web IDE code now. One of the things this does is intercept Ctrl-P to open the fuzzy file finder.

However, on OS X, Ctrl-P is already usable as a readline keybinding: it means 'go up a line'. https://support.apple.com/en-gb/HT201236:

Control-P: Move up one line.

For people (like me) who use these keybindings everywhere, having it do something different on the MR page is a real distraction. I used Ctrl-A, Ctrl-N, etc. even while writing this issue.

Proposal

Disable fuzzy finder key binding when inside a text area in the merge request interface, so that we don't interfere with editing.

Links / references

Related blog post about changing Firefox on Linux to allow these to work: http://jordi.inversethought.com/blog/exercising-software-freedom-on-firefox/

Edited by James Ramsay (ex-GitLab)