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 git@github.com: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.
-
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.
-
rgrep:
rg
is used for code searching. More aboutrgrep
and installation instructions are here. Invoke it usingM-x rg
more info - rg.el. -
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
Auto updates are configured. Once every 4 days
you will be prompted to perform upgrade of all installed packages.
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
My config has bits and pieces taken from these resources:
-
The brilliant README
use-package
has got: https://github.com/jwiegley/use-package/blob/master/README.md -
Mastering emacs' post on use-package: https://www.masteringemacs.org/article/spotlight-use-package-a-declarative-configuration-tool
-
Ruby and Rails: http://crypt.codemancers.com/posts/2013-09-26-setting-up-emacs-as-development-environment-on-osx/
-
General config (Theme, font, window-config, etc):
-
Prathamesh's dotemacs: https://github.com/prathamesh-sonpatki/dotemacs
And some others I can't recollect.
-
Twitter: @tejasbubane