Git Product home page Git Product logo

Comments (5)

dpetka2001 avatar dpetka2001 commented on June 14, 2024

This is normal behavior because there are many keymaps that include <leader>c, so it's waiting for timeoutlen seconds to see if some other key will follow after <leader>c.

from lazyvim.

gxt-kt avatar gxt-kt commented on June 14, 2024

So is there some other resolution to solve this problem. Actually i can remap all <leader>c* key to others, only use <leader>c to close current buffer.
Maybe i can delete all <leader>c and only map this one?

from lazyvim.

dpetka2001 avatar dpetka2001 commented on June 14, 2024

Not without remapping all <leader>c* keys. Or you could just add one more letter in your keymap to not have any delay (for example <leader>cx) or just press <space> after your <leader>c so that it doesn't wait for another key. Either way this is not a bug, but expected behavior.

from lazyvim.

dpetka2001 avatar dpetka2001 commented on June 14, 2024

You can also try this plugin to change the top-level key of your choosing to something else and then be able to use that key according to your own preferences. However, this plugin is archived and can't guarantee that something won't break in the future. But you can try it and see if it fits your needs.

from lazyvim.

gxt-kt avatar gxt-kt commented on June 14, 2024

Thanks for your reply, i also find a discussion about remap the top-level leader key. #90
I think I will continue using the default keymap <leader>bd.

from lazyvim.

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.