How to grab "bootstrap glyphicon list" using mozilla/firefox and emacs/multiple-cursors

Опубликовано: 04 Август 2026
на канале: Panji Kusuma
253
1

How to grab "bootstrap glyphicon list" using mozilla/firefox and emacs/multiple-cursors:

1. Copy outer html from inspect element.
2. Yank it into emacs/web-mode buffer. (another mode is fine)
3. c-x h to select all text in buffer.
4. m-x mc/mark-all-in-region-regexp <enter>.
5. Mark regexp in region: "glyphicon glyphicon-[a-z-]*" <enter>.
6. c-w to cut all marked text. (it's a little lack on my computer)
7. Waiting until done.
8. c-g c-g to deactivate multiple-cursors.
9. c-x h del to clear the buffer.
10. c-x r y to yank the list.

Notes:
c-x = <ctrl>-x
m-x = <alt>-x
c-w = <ctrl>-w
c-g = <ctrl>-g

Music:
Elvish Presto by Twin Musicom is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: http://www.twinmusicom.org/