Giter VIP home page Giter VIP logo

Comments (3)

victorhge avatar victorhge commented on September 2, 2024

So,what's the problem you met?

from iedit.

meedstrom avatar meedstrom commented on September 2, 2024

Mainly that I notice the message at every init. I don't need to notice it.

Imagine if every package printed out their default keybindings on init? I don't see why iedit should be privileged in this way. Though it's true that most packages confine their bindings to a major or minor mode, while iedit sets a global binding on load, which perhaps should be messaged about because it's a surprise. Seems cleaner to me if it would bind nothing and leave it to the user, but I suppose that ship has sailed.

Anyway, found a workaround by installing the package in the following way:

(use-package iedit
  :init
  (setq iedit-toggle-key-default nil)
  :config
  (global-set-key (kbd "C-;") 'iedit-mode))

... Ohhh okay! It seems the message won't be printed if I just bind it before package load! So I can even defer the package load:

(use-package iedit
  :defer
  :init
  (global-set-key (kbd "C-;") 'iedit-mode))

Maybe you'd consider having a tip in the default message, that the message can be silenced by explicitly binding the command? Either way, you can close this issue; my problem is solved.

from iedit.

victorhge avatar victorhge commented on September 2, 2024

I got your point. It is an unecessary message. I am going to remove it.

from iedit.

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.