help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lisp error when using M-x


From: wael-zwaiter
Subject: Re: Lisp error when using M-x
Date: Sun, 10 Jan 2021 23:59:08 +0100

I want to use C-i for ivy related commands.

  (global-set-key (kbd "C-i C-s") 'swiper)
  (global-set-key (kbd "C-i C-r") 'ivy-resume)
  (global-set-key (kbd "C-i C-i") 'ivy-resume)
  (global-set-key (kbd "C-i M-x") 'counsel-M-x)
  (global-set-key (kbd "C-i C-f") 'counsel-find-file)




> Sent: Monday, January 11, 2021 at 10:55 AM
> From: "Óscar Fuentes" <ofv@wanadoo.es>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Lisp error when using M-x
>
> wael-zwaiter@gmx.com writes:
> 
> > Have done
> >
> > (global-unset-key (kbd "C-i"))
> >
> > But, C-i is still doing TAB.
> 
> IIRC a few key bindings are hard-coded. You can set the key binding to
> something else, but you can't remove the "base" binding.
> 
> If you don't want C-i to do TAB, you can set the binding to a do-nothing
> command:
> 
> (global-set-key (kbd "C-i") (lambda () (interactive)))
> 
> 
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]