RepositoryEmacs LispUSHoa Kỳ
jming422

jming422/fira-code-mode

Emacs minor mode for Fira Code ligatures using prettify-symbols

111sao
12fork
1issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: programming-ligatures

#1 Repository của tháng

3
TINIX TRENDING·Chủ đề: ligatures

#3 Repository của tháng

🔤 Fira Code Mode: Ligature Fira Code trong Emacs mà không cần đổi font

Bật ligature Fira Code trong Emacs mà vẫn giữ font hiện tại.

Fira Code Mode là một minor mode nhẹ cho Emacs, dùng prettify-symbols để hiển thị các ligature từ font Fira Code. Bạn không cần dùng Fira Code làm font chính — package chỉ áp dụng ligature, không thay đổi font hay face nào khác.

✨ Điểm nổi bật

  • Cài đặt qua MELPA: Cài bằng M-x package-install RET fira-code-mode RET.
  • Font riêng biệt: Dùng font Fira Code Symbol (khác font Fira Code thường), cài tự động bằng M-x fira-code-mode-install-fonts RET.
  • Tắt ligature riêng lẻ: Tùy chỉnh fira-code-mode-disabled-ligatures để loại bỏ ligature không mong muốn.
  • Hỗ trợ hex literal: Tùy chọn fira-code-mode-enable-hex-literal bật/tắt ligature cho 0x12.
  • Tích hợp use-package: Hỗ trợ cấu hình với use-package hoặc cấu hình thủ công.
  • Global mode hỗ trợ: Bật toàn cục bằng (global-fira-code-mode).
  • Tương thích đa ngôn ngữ: Hoạt động với mọi major mode lập trình thông qua prog-mode-hook.
  • Xử lý lỗi font: Hàm fira-code-mode-set-font khắc phục trường hợp font ligature bị sai.

💡 Vì sao đáng chú ý

Không giống cách thiết lập font Fira Code truyền thống (thay toàn bộ font), Fira Code Mode chỉ dùng prettify-symbols để thay thế các ký tự bằng ligature tương ứng — giữ nguyên hoàn toàn font và cài đặt hiện tại của bạn. Phù hợp cho người muốn trải nghiệm ligature mà không thay đổi môi trường đang dùng.


#Emacs #FiraCode #Ligatures #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryClojure
tonsky/FiraCode

Free monospaced font with programming ligatures

82.2k
Nov 30, 2026
RepositoryPython
subframe7536/maple-font

Maple Mono: Open source monospace font with round corner, ligatures and Nerd-Font icons for IDE and terminal, fine-grained customization options. 带连字和控制台图标的圆角等宽字体,中英文宽度完美2:1,细粒度的自定义选项

30.0k
Nov 26, 2026
RepositoryJavaScript
be5invis/Iosevka

Versatile typeface for code, from code.

23.5k
Dec 2, 2026
RepositoryShell
JetBrains/JetBrainsMono

JetBrains Mono – the free and open-source typeface for developers

13.2k
Jan 31, 2025
RepositoryPython
IdreesInc/Monocraft

A monospaced programming font inspired by the Minecraft typeface

11.5k
May 27, 2026
RepositoryAstro
mishamyrt/Lilex

🤘Open source programming font

1.8k
Oct 12, 2026
RepositoryPython
EzequielRamis/liga

Get your favourite programming font with ligatures ✨

110
Feb 8, 2022
RepositoryEmacs Lisp
syl20bnr/spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!

24.6k
Nov 27, 2026
RepositoryEmacs Lisp
doomemacs/core

An Emacs framework for the stubborn martian hacker

22.9k
Nov 27, 2026