Add a way to run different commands with/without count
#7.213 aberto em 30 de mai. de 2022
Métricas do repositório
- Stars
- (9.161 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
@The-Compiler I just upgraded to the newest version, and saw that
tab-focuswithout arguments is deprecated (since the version mentioned in this thread). What should be used now instead to use qutebrowser tabs just like Vim tabs?I mapped
gttotab-focusandgTtotab-prev, allowing me to go to a specific tab via<n>gtand going to the next tab without a count. How can I do this now?
Originally posted by @leo848 in https://github.com/qutebrowser/qutebrowser/discussions/6390#discussioncomment-2821823
We could just un-deprecate this behavior of tab-focus without arguments (see ff63d0c1b0331a8fee8808dbb536a0ebbe3bbb68 and #6314 for some context)...
However, I wonder if it would make sense to introduce something more generic which wouldn't require writing a userscripts for those things. For example, something like cmd-if-count tab-focus tab-next which runs tab-focus if there was a count, and tab-next if not.
cc @mschilli87 @toofar from the original discussion.