Code Monkey home page Code Monkey logo

Comments (3)

liuchengxu avatar liuchengxu commented on May 29, 2024

vim-which-key 通过两种途径收集 key mapping, 一是用户自定义的 map,这一点你可以通过 :verbose [n/v]map 你的map 进行判断,如果返回有内容,vim-which-key 会自动解析到这个 map。二是定义在 register 时传入的 dict 里面。无论哪种途径,只要能够找到这样的 map, vim-which-key 就会展示,你就可以使用。vim-which-key 只是附加的一层,本身不会对你的 key mapping 有任何要求。你的 key mapping 是怎样的,它就会怎么收集并展示。

from vim-which-key.

glepnir avatar glepnir commented on May 29, 2024

是有返回内容的,我可以正常使用,但是它有时候解析不到,我在想是不是解析map有问题,因为我的映射是 map <leader> e nerdtreetoggle ,是不是解析map有问题需要noremap之类的才会正常呢?dict怎么设置leader 我设置了但是没读取。

from vim-which-key.

glepnir avatar glepnir commented on May 29, 2024

@liuchengxu gitter里说?

from vim-which-key.

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.