]> git.eshelyaron.com Git - completion-preview.git/commit
Use a dedicated keymap for when the preview active
authorEshel Yaron <me@eshelyaron.com>
Tue, 31 Oct 2023 18:15:41 +0000 (19:15 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 31 Oct 2023 18:26:51 +0000 (19:26 +0100)
commit46d0195f5a552ab16e7dafc6194a1f0c7c76dd38
tree6c94339873e4d50510056aa1f309f60c2556db1f
parent2fd7429656a616451fbd453ca12c70f37918e5fd
Use a dedicated keymap for when the preview active

* completion-preview.el (completion-preview-hide): New function.
(completion-preview-active-mode-map): New keymap.
(completion-preview-active-mode): New minor mode.
(completion-preview--post-command)
(completion-preview-mode)
(completion-preview-show): Adjust.
(completion-preview-insert-or-complete): Remove.
(completion-preview-insert): New command.
completion-preview.el