Git Product home page Git Product logo

Comments (6)

gdh1995 avatar gdh1995 commented on August 16, 2024 1

Not allowed in Vimium C currently.

Up to now, I think this feature is confusing and do not like it. If there's any idea to allow users to tell from count prefixes and number shortcuts easily, I may implement it.

PS: this issue was also mentioned in #10 (comment) .

from vimium-c.

gdh1995 avatar gdh1995 commented on August 16, 2024 1

比如"3x" 会关闭3个标签页,"11x" 则关闭11个,如果右边不够多还会往当前标签页的左边找。

绝大多数命令都有数字前缀来做更多/不同的事情。而且,Vimium C还支持负数的数字前缀,用来改变命令重复执行的方向或者别的什么,相当于一个更灵活的命令参数。

from vimium-c.

gdh1995 avatar gdh1995 commented on August 16, 2024 1

设计如此,如果您没有新想法的话,请问可否关闭这个issue了?

Vimium C does this as intented, so may this issue be closed?

from vimium-c.

doingnothing avatar doingnothing commented on August 16, 2024

有点不懂你的意思,在Command Listing里,现在还没有任何命令有数字开头呀?像各种双键有g开头的命令就自动抵消了单独g键的命令(用户不能把单独g设定了)。那么开放设定单独数字键好像不会令用户误会吧?

from vimium-c.

doingnothing avatar doingnothing commented on August 16, 2024

哦原來如此複雜,明白了,謝謝🙏

from vimium-c.

gdh1995 avatar gdh1995 commented on August 16, 2024

更新:最新版的用法是:

mapkey <1:n> <v-fake1>
mapkey <2:n> <v-fake2>
map <v-fake1> scrollDown
# or other commands
mapkey <-:n> <v-fake1>
mapkey <-:e> <v-fake2>
map <v-fake1> zoomOut
map F<v-fake2> zoomIn

也就是把2变成一个不是数字的虚拟键,然后绑定命令到这个虚拟出来的键上。

  • :n表示只在普通模式下、没有输入过前缀字母或数字时生效。
  • :e表示只在普通模式下、已经输入过前缀字母或数字时生效。

from vimium-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.