Skip to content

coldnight/.emacs.d

Repository files navigation

Screenshot

Screenshot

About

Emacs Configuration

My Emacs configuration that includes:

  • Manage package via use-package & straight
  • Python/Go/LSP
  • Org-mode/org-roam/org-journal

Installation

$ git clone https://github.com/coldnight/.emacs.d ~/.emacs.d

Open your Emacs and wait the initialization done.

Optional

You can configure Git to connect to GitHub over SSH, if you encountered network issues when connected to GitHub over HTTPs.

$ git config --global url."git@github.com:".insteadOf "https://github.com/"

Setup

Fonts

icons

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

org-roam & org-journal & org-agenda &ox-hugo

  1. Install hugo

  2. Create a hugo site

    $ hugo new site ~/codes/notes/roam-research-notes-hugo
  3. Make directories

    $ mkdir -p ~/codes/notes/roam-research-notes-hugo/journal
    $ mkdir -p ~/codes/notes/roam-research-notes-hugo/content-org
    $ mkdir -p ~/codes/notes/roam-research-notes-hugo/gtd

Golang

Install gopls

GO111MODULE=on go get golang.org/x/tools/gopls@latest

Set GOPROXY:

go env -w GOPROXY="https://goproxy.io,direct"

Graphviz

Install Graphviz to draw it in org-mode with evaluate code block.

C/C++

Install clangd for lsp-mode.

Use cmake to generate clangd configurations:

mkdir build
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
mv compile_commands.json ../

Rust

cargo install cargo-add cargo-expand cargo-watch

M-x lsp-install-server RET rust-analyzer RET

Notify

brew install terminal-notifier

vterm

brew install cmake libvterm

Awesome .emacs.d

About

My Emacs configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages