Skip to content

j3soon/dot-emacs

Repository files navigation

Emacs Init File (Dot Emacs)

Some useful emacs snippets. Tested on Windows & Linux with Emacs 27 & 28 (GUI version).

You can locate your init file by:

M-x describe-variable RET user-init-file RET

Ref: https://www.emacswiki.org/emacs/InitFile

The full init file that combines all snippets.

  • Requires manually download Dark Solarized Theme.
  • Comment out update package code after first launch
  • (Optional) Requires download Microsoft YaHei Mono Font.

The extensible vi layer for Emacs. (https://github.com/emacs-evil/evil)

Fix TAB key conflict with OrgMode.

Ref: https://emacs.stackexchange.com/a/28224

Emacs highlighting using Ethan Schoonover’s Solarized color scheme. (https://github.com/sellout/emacs-color-theme-solarized)

You should download the theme beforehand:

cd ~/.emacs.d # or `%APPDATA%\.emacs.d` on Windows
mkdir -p themes && cd themes
git clone https://github.com/sellout/emacs-color-theme-solarized

You should download and install the font beforehand:

https://www.onlinewebfonts.com/download/9798f64007ae3426b2336e57dae4149c

Miscellaneous

OrgMode

Ref: https://orgmode.org/manual/Activation.html

Ref: https://orgmode.org/manual/Org-Indent-Mode.html

Ref: https://orgmode.org/worg/org-tutorials/org-column-view-tutorial.html

Ref: https://orgmode.org/manual/Breaking-Down-Tasks.html

Ref: https://orgmode.org/manual/TODO-dependencies.html

Ref: https://lists.gnu.org/archive/html/emacs-orgmode/2018-10/msg00013.html

Ref: https://orgmode.org/manual/TODO-types.html

Ref: https://orgmode.org/manual/Fast-access-to-TODO-states.html

Ref: https://orgmode.org/manual/Faces-for-TODO-keywords.html

Ref: https://www.gnu.org/software/emacs/manual/html_node/org/Closing-items.html

Show TODO/NEXT tasks with deadline/schedule/timestamps (ascending order)

  • C-c a d: Deadline mode
  • C-c a s: Schedule mode
  • C-c a f: Effort mode
  • C-c a c: Timestamp mode

Ref: https://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html

Ref: https://orgmode.org/manual/Matching-tags-and-properties.html

Ref: https://orgmode.org/worg/org-tutorials/org-column-view-tutorial.html

Potential Improvements (Single q to quit): https://www.mail-archive.com/[email protected]/msg101093.html

Debugging

emacs --debug-init

Potential Improvement References

About

My Emacs Configuration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published