Skip to content

devn/emacs.d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

.emacs.d

This is an .emacs.d directory that mostly uses emacs-starter-kit packages for an initial reasonable starting point with some tweaks on top of that. This repository is designed to use, but it does not require, homeshick.

Changing

Editor configurations can be a fairly personal thing. Changing setting globally can be at a surprising and disruptive.

It is recommended that you test out new changes in a system specific configuration and after vetting open a pull request if it seems like something useful to add to the global configuration.

Installation

Using homeshick

git clone https://github.com/outpace/emacs.d ~/.homesick/repos/outpace-emacs.d
homeshick link outpace-emacs.d

Installation

Using homeshick

git clone https://github.com/outpace/emacs.d ~/.homeshick/repos/emacs.d
homeshick link emacs.d

Without homeshick

git clone https://github.com/outpace/emacs.d ~/emacs.d
ln -s ~/emacs.d/home/.emacs.d ~/.emacs.d

Interesting bits

This project loads system specific emacs lisp files both at the beginning and end of evaluation init.el. This allows a user to override or set up their own custom configuration independently of the main configuration. The files that are loaded are based off the system-name nad user-login-name. Look at the function load-system-specific-configs in the init.el for details

A function install-package is made available early while loading init.el. If you wanted to install the package align-cljlet then in one of the user override files you would specify (install-package 'algin-cljlet).

Has some additional functionality added for working in Clojure. Some of them include improving paredit usage in the repl, adding clj-refactor, using auto-complete, and some other smaller tweaks.

It also will load user/system specific configuration files if found. This allows you to add additional functionality depending on what machine you are working on.

Defaults to using Inconsolata as the font. If you don't have this installed you'll probably see whatever terrible default font is used.

Useful re-mappings to know about:

  • C-w remapped to backward-kill-word
  • C-x C-k and C-c C-k remapped to kill-region
  • C-x C-m and C-c C-m remapped to smex (same as M-x in this setup)

Useful added functions:

  • scratch-buffer - Opens up temporary buffer
  • revert-all-buffers - Refreshes all open buffers
  • rename-file-and-buffer - Renames current buffer and file

About

homeshick/homesick style directory for .emacs.d configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published