Skip to content

mingoc/.emacs.d

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  • Run git clone [email protected]:norswap/.emacs.d.git ~/.emacs.d.

  • Symlink site-start.el from your site-lisp directory to the site-start.el in this directory. The typical Linux command is:

    sudo ln -s ~/.emacs.d/site-start.el /usr/local/share/emacs/site-lisp/site-start.el

    On Windows, the site-lisp directory is inside the emacs install directory (in doubt, try C:\Program Files\emacs).

  • [Linux] Add .~/.emacs.d/init.sh to your .bashrc (or equivalent).

  • [Windows] Symlink or copy emacs.bat to your emacs install directory, and run emacs via this file.

Note: to make symlinks in Windows, use LinkShellExtension.

Windows Shell Integration

  • To use the registry tweaks described next, you'll need to copy or symlink emacs.bat to %WINDIR%. The registry apparently does not use %PATH% for path resolution, but at least uses %WINDIR.

  • Merging the file registry/noext.reg with the registry associates files with without extensions to emacs. It is equivalent to typing the following commands in a terminal:

    assoc .=noext
    ftype noext=emacs "%1"
    
  • Merging the file registry/unknown.reg with the registry associates files with unkown extensions to emacs.

  • Merging the file registry/openwith.reg with the registry add an "open with emacs" item to the context menu of all files.

Troubleshooting

If you get an error looking like The directory ~/.emacs.d/server is unsafe, try taking ownership of that directory (setting yourself as the directory owner in the directory's properties - google it).

About

My emacs configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published