Skip to main content

How to use Emacs ? πŸͺ†

·462 words·3 mins· loading · loading · · ·
SIRPS
Author
SIRPS
Interested in Electronic Devices and Computers
Table of Contents

β€πŸ’»What is Emacs ??
#

EmacsλŠ” κ°•λ ₯ν•˜κ³  ν™•μž₯ κ°€λŠ₯ν•œ ν…μŠ€νŠΈ μ—λ””ν„°λ‘œ, 1970λ…„λŒ€ μ€‘λ°˜μ— 개발이 μ‹œμž‘λ˜μ–΄ ν˜„μž¬κΉŒμ§€λ„ ν™œλ°œνžˆ μ‚¬μš©λ˜κ³  μžˆλŠ” μ†Œν”„νŠΈμ›¨μ–΄μž…λ‹ˆλ‹€. GNU EmacsλŠ” κ°€μž₯ 널리 μ‚¬μš©λ˜λŠ” λ²„μ „μœΌλ‘œ, μ΅œμ‹  버전은 2024λ…„ 6월에 μΆœμ‹œλœ 29.4μž…λ‹ˆλ‹€1 .

πŸ“œEmacs의 μ£Όμš” νŠΉμ§•
#

κ°•λ ₯ν•œ ν™•μž₯μ„±

  • Emacs Lisp을 ν†΅ν•œ μ‚¬μš©μž μ •μ˜ 및 ν™•μž₯ κ°€λŠ₯μ„±
  • 10,000개 μ΄μƒμ˜ λ‚΄μž₯ λͺ…령어와 맀크둜 κΈ°λŠ₯

λ‹€μ–‘ν•œ κΈ°λŠ₯

  • ν…μŠ€νŠΈ νŽΈμ§‘λΏλ§Œ μ•„λ‹ˆλΌ 파일 관리, 이메일, 버전 관리 λ“± λ‹€μ–‘ν•œ μž‘μ—… μˆ˜ν–‰ κ°€λŠ₯
  • ν”„λ‘œκ·Έλž˜λ°, λ¬Έμ„œ μž‘μ„±, ν”„λ‘œμ νŠΈ 관리 λ“± λ‹€μ–‘ν•œ μš©λ„λ‘œ ν™œμš©

λͺ¨λ“œ μ‹œμŠ€ν…œ

  • μ£Όμš” λͺ¨λ“œμ™€ λΆ€κ°€ λͺ¨λ“œλ₯Ό ν†΅ν•œ λ§₯락별 κΈ°λŠ₯ 제곡
  • λ‹€μ–‘ν•œ ν”„λ‘œκ·Έλž˜λ° μ–Έμ–΄ 및 파일 ν˜•μ‹μ— λŒ€ν•œ 지원

크둜슀 ν”Œλž«νΌ 지원

  • Linux, BSD, macOS, Windows λ“± λ‹€μ–‘ν•œ 운영 μ²΄μ œμ—μ„œ μ‚¬μš© κ°€λŠ₯

Emacs의 μž₯점

  • 톡합 개발 ν™˜κ²½: EmacsλŠ” λ‹¨μˆœν•œ ν…μŠ€νŠΈ 에디터λ₯Ό λ„˜μ–΄ μ™„μ „ν•œ 개발 ν™˜κ²½μ„ μ œκ³΅ν•©λ‹ˆλ‹€ .
  • 높은 μ•ˆμ •μ„±κ³Ό 지속성: μˆ˜μ‹­ λ…„κ°„ μ§€μ†λœ 개발둜 μ•ˆμ •μ„±μ΄ κ²€μ¦λ˜μ—ˆμœΌλ©°, λ―Έλž˜μ—λ„ 계속 μ‚¬μš©ν•  수 μžˆλŠ” λ„κ΅¬μž…λ‹ˆλ‹€ .
  • κ°•λ ₯ν•œ μ»€μŠ€ν„°λ§ˆμ΄μ§•: μ‚¬μš©μžμ˜ ν•„μš”μ— 따라 거의 λͺ¨λ“  뢀뢄을 μˆ˜μ •ν•˜κ³  ν™•μž₯ν•  수 μžˆμŠ΅λ‹ˆλ‹€ .
  • Org λͺ¨λ“œ: λ¬Έμ„œ μž‘μ„±, ν”„λ‘œμ νŠΈ 관리, 일정 관리 등을 μœ„ν•œ κ°•λ ₯ν•œ λ„κ΅¬μž…λ‹ˆλ‹€ .
  • ν’λΆ€ν•œ 도움말 μ‹œμŠ€ν…œ: λ‚΄μž₯된 도움말 κΈ°λŠ₯으둜 μ‰½κ²Œ ν•™μŠ΅ν•˜κ³  μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€

Todolist!! with Emacs Org
#

  • M-x org-mode
    ** TODO 첫 번째 ν•  일
    ** TODO 두 번째 ν•  일
    change status : C-c C-t
    EmacsλŠ” ν•™μŠ΅ 곑선이 λ‹€μ†Œ κ°€νŒŒλ₯΄μ§€λ§Œ, ν•œλ²ˆ μ΅μˆ™ν•΄μ§€λ©΄ 평생 μ‚¬μš©ν•  수 μžˆλŠ” κ°•λ ₯ν•œ λ„κ΅¬μž…λ‹ˆλ‹€. ν”„λ‘œκ·Έλž˜λ¨Έ, μž‘κ°€, μ—°κ΅¬μž λ“± λ‹€μ–‘ν•œ λΆ„μ•Όμ˜ 전문가듀이 Emacsλ₯Ό μ„ ν˜Έν•˜λ©°, κ·Έ μœ μ—°μ„±κ³Ό ν™•μž₯μ„±μœΌλ‘œ 인해 'ν‰μƒμ˜ 에디터'라고 λΆˆλ¦¬κΈ°λ„ ν•©λ‹ˆλ‹€

πŸ“” Emacs Command
#

    command mode : M-x (command) enter
    close command mode : C-g
    find word : C-s C-w
    open file : C-x C-f
    save file : C-x C-s
    file quit : C-x k
    remove current line : C-k
    select buffeer : C-x h
    Copy, Cut , Paste : M-w , C-w , C-y
    Emacs quit : C-x C-c
    redo : C-/ λ˜λŠ” C-x u
    cancle execute : C-g
    go file sentence First, End : C-a , C-e
    go file First, End : M-shift-, , M-shift-.
    select remove : C-w
    remove current line : C-k
    remove one world : M-d
    show buffer list : C-x C-b
    close buffer : C-x k

✍️ Command lin
#

πŸ“°My configure
#

;(load-theme 'wombat t)

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(unless (package-installed-p 'catppuccin-theme)
  (package-refresh-contents)
  (package-install 'catppuccin-theme))

(load-theme 'catppuccin :no-confirm)


(setq make-backup-files nil)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages '(catppuccin-theme)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )