Code Monkey home page Code Monkey logo

Comments (8)

cohama avatar cohama commented on July 28, 2024

I'm not sure why g:lexima_manually_keys is necessary.
In your example, inoremap <expr> $ DollarFunc() overrides $ rules defined by lexima.vim.

from lexima.vim.

4513ECHO avatar 4513ECHO commented on July 28, 2024

Yes, surely we can override mappings if we execute *(nore)map after lexima defined rules.
However, if lexima is made lazy by plugin manager, understanding "after lexima defined rules" is hard for most users....
It is important for lexima not to bind mappings certainly.

from lexima.vim.

cohama avatar cohama commented on July 28, 2024

In my opinion, it is hard for most users to understand lazy feature and the best solution to such a situation is to not using lazy feature.

from lexima.vim.

4513ECHO avatar 4513ECHO commented on July 28, 2024

Hmm, your opinion is true. The lazy feature is advanced.
However, the most important problem is that lexima define mappings implicitly. There are many related issue in the repository about conflict of mappings. It is serious not also for advanced users but beginners.
If the way exists to avoid conflict with other plugins or configs explicitly, we can reduce such problems.

from lexima.vim.

4513ECHO avatar 4513ECHO commented on July 28, 2024

Is there any update on this?
If you don't want to include this feature, I'll close this issue. Otherwise I'll send a PR.

from lexima.vim.

cohama avatar cohama commented on July 28, 2024

I'm sorry to slow response. Yes, I can not believe this feature best solution to solve this problem.

from lexima.vim.

4513ECHO avatar 4513ECHO commented on July 28, 2024

Ok, thanks.

from lexima.vim.

cohama avatar cohama commented on July 28, 2024

As discussed vim-jp slack, I finally found out that there are some cases adding a rule and resolving conflicts want to be done independently.

from lexima.vim.

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.