diff options
author | João Távora <joaotavora@gmail.com> | 2019-10-29 00:12:16 +0000 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2019-10-29 00:19:33 +0000 |
commit | 7373d6eae807af9f0557b28b30e2864f17114c40 (patch) | |
tree | b3791244cb7ecd82b19963f34e0beabbc64cbdb3 /lisp/emacs-lisp/syntax.el | |
parent | 4e3676726a64018cd4688d2669657878a2975f2c (diff) | |
download | emacs-7373d6eae807af9f0557b28b30e2864f17114c40.tar.gz emacs-7373d6eae807af9f0557b28b30e2864f17114c40.tar.bz2 emacs-7373d6eae807af9f0557b28b30e2864f17114c40.zip |
New commands for making icomplete behave more like ido
This tries (not particularly hard) to emulate Ido's magic C-k, C-d,
RET and DEL. For now, the new commands have to be explicitly added to
an active map by the user, using something like this:
(let ((imap icomplete-minibuffer-map))
(define-key imap (kbd "C-k") 'icomplete-magic-ido-kill)
(define-key imap (kbd "C-d") 'icomplete-magic-ido-delete-char)
(define-key imap (kbd "RET") 'icomplete-magic-ido-ret)
(define-key imap (kbd "DEL") 'icomplete-magic-ido-backward-updir))
* lisp/icomplete.el (icomplete-magic-ido-kill)
(icomplete-magic-ido-delete-char, icomplete-magic-ido-ret)
(icomplete-magic-ido-backward-updir): New commands.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions