Skip to content

guoweis/dotemacs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotEmacs

This repository contains my personal Emacs configuration.

What the .el

If you are wondering where has gone all of the Lisp, fear not, for it is automagically tangled from an Org file into a Lisp file.

Screenshots

My Emacs configuration is a living mixture that I edit on a daily basis. As such, the following screenshots might not reflect exactly what is on :master.

https://drive.google.com/open?id=0BwTSOByd3qSFWUtYYnlYeTIzNFU

Installation

Dependencies

Tested on macOS only.

I trust your Google-fu to make the most of the below instructions.

janssonEnable native JSON parsing
libvtermUsed by terminal emulation within Emacs
pinentryLet Emacs prompt for passphrases
ripgrepPrefer rg over grep
brew install jansson libvterm pinentry ripgrep

Emacs

Install Emacs 27 or above. I prefer emacs-plus for its additional compilation flags, specifically the ability not to have a title bar ie. fake fullscreen since it has its downsides on macOS.

brew tap d12frosted/emacs-plus
brew install emacs-plus@28 --with-no-titlebar

Clone the repository into your user directory.

git clone https://github.com/angrybacon/dotemacs.git ~/.emacs.d/ --recurse-submodules

Flycheck

I use flycheck as linter framework to display syntax warnings and errors within each buffer.

npm install -g eslint                                 # JavaScript
npm install -g jsonlint                               # JSON
npm install -g stylelint                              # SCSS
pip install flake8                                    # Python

Icons

The mode-line utilizes features from all-the-icons.

Run the following when Emacs loads up in order to download the required font files.

M-x all-the-icons-install-fonts RET

LSP

In order for Emacs to connect to the LSP servers, install the language-specific dependencies.

npm install -g typescript typescript-language-server
M-x lsp-install-server RET eslint RET
M-x lsp-install-server RET ts-ls RET

About

My Emacs configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • YASnippet 51.6%
  • Emacs Lisp 45.3%
  • Shell 3.1%