bipinmdr07 / .doom.d

My private doom emacs configuration files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doom Setup and configuration

Installation

Install Emacs

Linux (Debian)

# install emacs from snap
sudo apt install snapd -y
sudo snap install emacs --classic

Install Doom Emacs

# Clone Doom Emacs
rm -rf ~/.emacs.d
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d

# Clone config
cd ~
# remove the existing doom configuration file if already present
rm -rf ~/.doom.d
git clone git@github.com:bipinmdr07/.doom.d.git # recommended for me
# OR
git clone https://github.com/bipinmdr07/.doom.d.git

~/.emacs.d/bin/doom install

Installing dependencies

First run the doom emacs `doctor` command and install missing dependencies manually as suggested.

~/.emacs.d/bin/doom doctor

LSP (Language Server Protocol)

Have to install Deno for js-ts-lsp site can be found here at Dano installation page

curl -fsSL https://deno.land/x/install/install.sh | sh

Setting up Magit

  1. First create a `Personal access token` by going to `setting` and `Developer setting` on with name
    {{username}}^forge // bipinmdr07^forge
        
  2. Configure the `github.name` to register a username for forge by running
    git config --global github.user {{username}}
    
    # example
    git config --global github.user bipinmdr07
        
  3. create a `.authinfo` file with content
    machine api.github.com login {{username}}^forge password {{personal_access_token}}
        
  4. encrypt the `.authinfo` file to `.authinfo.gpg` with password by running
    M-x epa-encrypt-file
        

    and select the `.authinfo` file

About

My private doom emacs configuration files


Languages

Language:Emacs Lisp 94.2%Language:YASnippet 5.8%