8000 GitHub - yilin-zhang/.emacs.d: ⚙️ A personal Emacs configuration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yilin-zhang/.emacs.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.emacs.d

A personal Emacs configuration.

Installation

Clone the repository

git clone https://github.com/yilin-zhang/.emacs.d.git ~/.emacs.d
cd ~/.emacs.d

Install dependencies (macOS)

Global

brew tap homebrew/cask-fonts
brew install coreutils font-sarasa-gothic font-noto-serif-cjk-sc

Package

color-rg

brew install ripgrep

jinx

  1. Install enchant and pkgconf
    brew install enchant pkgconf
        
  2. Override the configuration to use AppleSpell by default. Create or modify ~/.config/enchant/enchant.ordering:
    *:AppleSpell
    en_US:AppleSpell
        

nerd-icons

Install nerd fonts in Emacs: M-x nerd-icons-install-fonts

eglot-booster

Follow the instruction in emacs-lsp-booster.

LSP

LanguageServer
Pythonpyright
JS/TStypescript-langauge-server
JSONvscode-json-languageserver
Vuevue-language-server
Lualua-language-server

Customization

Create file ~/.emacs.d/custom/custom-post.el. The configuration in the file will be loaded last.

Org

The most important configuration is to set org-agenda-files, so that Emacs knows where you agenda files are.

(use-package org
  :ensure nil
  :config
  (add-to-list 'org-agenda-files "~/info.org")
  (add-to-list 'org-agenda-files "~/inbox.org")
  ;; org-ref
  (setq reftex-default-bibliography '("~/references.bib"))
  ;; see org-ref for use of these variables
  (setq org-ref-bibliography-notes "~/bib-notes.org"
        org-ref-default-bibliography '("~/references.bib")
        org-ref-pdf-directory "~/bibtex-pdfs/")
  )

Denote

Set the denote bucket by setting denote-directory. Example:

(setq denote-directory "~/Documents/notebooks/denote")

Meow

Define some leader keys. Example:

(meow-leader-define-key
 '("t" . yilin/open-in-terminal)
 '("e" . yilin/open-in-finder))

About

⚙️ A personal Emacs configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0