Цифровой садик - приветственная

Цифровой садик - приветственная | Полный список всего, что тут есть | RSS | Подписаться через follow.it

10.11.2025

дополнение и предложение в emacs

Необходимая часть удобной среды для работы с текстом, мне кажется. Не могу сказать, что у меня прям замечательно устроено. Временами поглядываю, не могу ли что улучшить. И тут так, немножко ссылок, некоторые с комментариями.

Дополнение в минибуфере

ivy

vertico

https://github.com/minad/vertico

Мне просто удобно.

Andrew Tropin, [06.06.21 19:16] [В ответ на Александр Ермолов] можешь считать, что vertico - это как раз минималистичный ivy/selectrum, аннотации положили отдельно в marginalia, функции с комплишн кандидатам в consult, а возможность применить какое-то доп действие на текущий комплишн кандидэйет делается embark'ом и всё это по-максимум утилизирует функционал имакса, а не пилит отдельные ad-hoc реализаци. если проводить аналогию с иви, то это ivy, ivy-rich, councel/swiper, hydra. В общем, на мой взгляд это ivy done right. Типа посмотрели, учли опыт и аккуратно, модульно и с минимумом хаков заимплементили примерно тот же функционал.

Но вот consult и embark моя не понимать. Marginalia, по счастью, особо понимать не надо, поставила, включила — кое-де видно дополнительную инфу.

Хорошо сочетается с orderless.

helm

Несколько внезапно для себя перестала использовать helm. Правда, совсем удалить не получилось - что-то у меня от него зависит.

icomplete   notinuse

Кнопочки для icomplete-mode Были найдены по ‘C-h f icomplete-mode’

  • C-j icomplete-force-complete-and-exit
  • ESC Prefix Command
  • C-, icomplete-backward-completions
  • C-. icomplete-forward-completions
  • C-M-i icomplete-force-complete

By default, does not bind keys for cycling in ‘icomplete-mode’. Defines a separate mode for that, ‘icomplete-cycling-mode’, so you can use Icomplete with or without those key bindings.

(The default key bindings for cycling take away useful minibuffer keys.) Turning on ‘icomplete-cycling-mode’ also turns on Icomplete mode. (Emacs 24.4+)

If you also use Icicles then, whenever you change direction when cycling completion candidates, Icomplete displays the number of other candidates in the current cycle.

fido-mode   notinuse

https://www.gnu.org/software/emacs/manual/html_node/emacs/Icomplete.html Among other things, in Fido mode, C-s and C-r are also used to rotate the completions list, C-k can be used to delete files and kill buffers in-list. Another noteworthy aspect is that flex is used as the default completion style

Дополнение по ходу работы с текстом

corfu

  • https://github.com/minad/corfu - то, что у меня сейчас. С минимальным конфигом. Реально мне удобно, кажется, только пути к файлам автодополнять. Временами капризничает.

Corfu uses a transient keymap corfu-map which is active while the popup is shown. The keymap defines the following remappings and bindings:

  • beginning-of-buffer -> corfu-first
  • end-of-buffer -> corfu-last
  • scroll-down-command -> corfu-scroll-down
  • scroll-up-command -> corfu-scroll-up
  • next-line, down, M-n -> corfu-next
  • previous-line, up, M-p -> corfu-previous
  • completion-at-point, TAB -> corfu-complete
  • RET -> corfu-insert
  • M-g -> corfu-show-location
  • M-h -> corfu-show-documentation
  • C-g -> corfu-quit
  • keyboard-escape-quit -> corfu-reset

company   notinuse

https://www.emacswiki.org/emacs/CompanyMode

Прежнее, ощущалось увесистым.

предлагают варианты, меняют поведение дополнялок

icicles   notinuse

https://www.emacswiki.org/emacs/Icicles Если устанавливать, то через quelpa или вручную. В packages так нету. установка пакетов в emacs

Icicles command ‘icicle-imenu’ lets you browse the definitions in any set of Imenu-supported buffers, files, or bookmark destinations at the same time. Use it to navigate among Imenu entries anywhere. https://www.emacswiki.org/emacs/ImenuMode

hippie-expand   notinuse


Если у вас есть мысли, комментарии, предложения или отклики по поводу этой страницы или этого цифрового сада в целом, напишите мне сообщение на me (at) ladykosha.ru. Мне ооочень интересно!

Задонатить.


An IndieWeb Webring 🕸💍