Until today, I had Vimium disabled for Github as I believed Github’s keyboard shortcuts were useful enough to warrant losing Vimium’s.
These Github shortcuts in particular:
p— navigate to the next or parent commit when reviewing a pull request. Very convenient for code review.
Y— expand the current URL to its canonical, permalink. Essential for sharing URLs to file content (as otherwise the page content can change over time).
But Vimium can be enabled for Github without losing the above functionality.
]]to navigate to the next and previous commit when reviewing a pull request. These shadow the quickfix navigation mappings from
vim-unimpaired. More broadly, these work with various forms of “previous” or “next” pagination links.
Yshortcut can still be accessed by entering “insert mode” first. So use