qutebrowser/qutebrowser

Add a way to run different commands with/without count

Open

#7.213 aberto em 30 de mai. de 2022

Ver no GitHub
 (4 comments) (3 reactions) (0 assignees)Python (1.014 forks)batch import
good first issuepriority: 1 - middle

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-focus without 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 gt to tab-focus and gT to tab-prev, allowing me to go to a specific tab via <n>gt and 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.

Guia do colaborador