Skip to content

dominicpereira92/emacs.d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

485 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

  • Support for editing/debugging Clojure, Emacs Lisp, Scheme, C#, JavaScript, Haskell, Python, Ruby, PHP and C.
  • Uses god-mode for modal editing. All key bindings work in god-mode, and god-mode is only used to reduce the usage of modifier keys.
  • Uses which-key to interactively describe key bindings.
  • Uses use-package and bind-key. M-x describe-personal-keybindings will display all available key bindings.
  • Identical (almost) bindings across different major modes.
  • Installs all required packages from GNU, Marmalade and MELPA repositories on startup.
  • Includes helm, yasnippet and company.
  • Git integration via magit.
  • File and project search via ag.
  • Manage sessions and buffers via desktop-save-mode.
  • Automatically saves backup files to ~/.emacs.bak/.
  • Recompile entire ~/.emacs.d using M-x util/rebuild or the rebuild.sh script.
  • Upgrade all packages using M-x util/upgrade.
  • Remember that the meta (M-) modifier is the same as the C-[ prefix.

god-mode

Use ESC or M-i to toggle god-mode. In god-mode, i will also disable god-mode. Note that you can still use C-[ instead of the escape key. In god-mode, you can simply use [ for the escape key.

  • C-x C-c becomes xc.
  • C-x ( becomes x (. Note the use of the space key.
  • M-x becomes gx.
  • C-M-c becomes Gc.
  • M-10 C-n becomes 10n.
  • Use . or z to repeat the last command.

Overridden default key bindings

Some of the default Emacs key bindings are changed, as follows.

  • C-s will save the current buffer, while C-x C-s will perform an incremental search.
  • C-z doesn't minimize Emacs.
  • C-x a n and F10 don't have their usual behaviour, as they are used by GUD key bindings.
  • C-x C-c will exit Emacs with a confirmation.
  • M-i doesn't call tab-to-tab-stop and is used to toggle god-mode. Use M-[ or C-q TAB instead.
  • M-SPC doesn't call just-one-space, and is used for auto-completion. Use C-c \ or C-c C-\ instead.
  • When no region is selected, C-w will kill the current line and M-w will copy the current line.

Scripts

All scripts are in the script/ folder.

Script Description
rebuild.sh Recompile all Emacs Lisp files in ~/.emacs.d.
clean.sh Delete all compiled Emacs Lisp files in ~/.emacs.d.
fetch-info-docs.sh Fetch info documentation. Available only on GNU/Linux.

Releases

Packages

Contributors

Languages