|
From: | Stefan Monnier |
Subject: | Re: Lisp error when using M-x |
Date: | Sun, 10 Jan 2021 16:03:47 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> The problem occurs with ivy as follows. How is best to have the keybindings? >> >> (require 'ivy) >> (ivy-mode 1) How did you install `ivy`? The normal installation via `package.el` should make the above `require` unnecessary. >> (setq ivy-use-virtual-buffers t) >> (setq ivy-count-format "(%d/%d) ") >> >> (global-set-key (kbd "C-s") 'swiper-isearch) >> (global-set-key (kbd "M-x") 'counsel-M-x) > > Probably you need a (require 'counsel) and a (require 'swiper) as well > before those two lines. But shouldn't those packages's autoloads take care of that already? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |