Giter Site home page Giter Site logo

Surround key maps not working about lunarvim HOT 5 CLOSED

lunarvim avatar lunarvim commented on August 24, 2024
Surround key maps not working

from lunarvim.

Comments (5)

ChristianChiarulli avatar ChristianChiarulli commented on August 24, 2024

I haven't fully configured surround yet, I'll probably do this in a future video so I'm not surprised it doesn't work.

from lunarvim.

vimtor avatar vimtor commented on August 24, 2024

Any clue of why this could happen? At first, I thought that the mappings of sneak and surrounding had a conflict but even disabling sneak it doesn't work.

I think I might try luck with vim-sandwich after reading this article

from lunarvim.

vimtor avatar vimtor commented on August 24, 2024

Okey I just figured out, it has to do with the timeoutlen if you hit them very quickly or increase the length it works 🤦

from lunarvim.

rodriguezmarting avatar rodriguezmarting commented on August 24, 2024

Thanks @papeloto I can confirmed both vim-commentary and vim-surround were failing for the timeoutlen.
For anyone else who wants those plugins to be usable change timeoutlen in general/settings.vim. It is at 100ms by @ChristianChiarulli, change it to whatever feel comfortable to you. I use it at 1000ms (default).
Will close the issue.

from lunarvim.

roberto-civitas avatar roberto-civitas commented on August 24, 2024

It doesnt work for me even by increasing the timeout, when I try to surround something the "marks" popup shows up when I press the quote key. Any suggestions would be appreciated.

from lunarvim.

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.