Skip to content

tejasbubane/dotemacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tejas' Emacs Configuration

Usage

This config uses the awesome use-package. It will take care of fetching and installing all the packages on first load and byte-compiling them. Hence starting emacs for the first time will take some time, but the later ones should be blazing fast.

Being actively used and tested on the latest version of emacs.

Clone this repo in ~/.emacs.d:

cd ~/ && git clone [email protected]:tejasbubane/dotemacs.git .emacs.d

Now just open emacs and use-package will install all packages and byte-compile them.

If there are any issues with fresh install please feel free to open an issue.

Dependencies

  1. Font : The font I use is Fira Code. Make sure it is installed on your system. Otherwise emacs will throw an error on startup. If you prefer to use some other font, change it here. Ligatures are configured here. They use Cairo + ligature.el and hence require Emacs 27.1+. For older versions use one of the methods here. Or just comment the entire thing out if you plan not to use Fira-code.

  2. rgrep: rg is used for code searching. More about rgrep and installation instructions are here. Invoke it using M-x rg more info - rg.el.

  3. hunspell: hunspell and its dictionaries are required for flyspell-mode to work. Install them with your package manager. For example in archlinux: sudo pacman -S hunspell hunspell-en_us hunspell-en_gb

Update packages

Auto:

Auto updates are configured. Once every 4 days you will be prompted to perform upgrade of all installed packages.

Manual:

use-package uses emacs' inbuilt package.el. So upgrading is just telling package.el to upgrade all packages.

  • Open the list of package - M-x package-list-packages

  • Mark packages for upgrading - U

  • Install updates - x - confirm - y (yes)

Git submodules (use-package itself and reason-mode) can be updated by running

git submodule update --remote

Credits

My config has bits and pieces taken from these resources:

And some others I can't recollect.