Skip to content

soupi/minimal-haskell-emacs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

minimal-haskell-emacs

A minimal emacs configuration for haskell programming using dante and friends.

  • Coming from Vim? Try the evil branch which includes vim key bindings

See it in action

Visit dante's README.org to see the features list for Haskell editing.

Package management approach is based on this tutorial.

To get a haskell compiler and toolchain, checkout ghcup.

To install this configuration, clone the repository and place the following files at your home directory:

  • .emacs - emacs will call this file first which will trigger the whole thing. Also contains a few convenient tweaks.
  • .emacs.d/my-packages.el - contains the list of packages to install when starting emacs
  • .emacs.d/my-loadpackages.el - defines how to enable and setup the packages we use

WARNING: Backup your changes to all your emacs related files before running the following commands as they will override your files!

So the steps are:

git clone https://github.com/soupi/minimal-haskell-emacs
cp minimal-haskell-emacs/.emacs  ~/
cp -r minimal-haskell-emacs/.emacs.d ~/

Now just run Emacs and start hacking!


Extra useful shortcuts:

Files:

Buffers:

  • F7 - Open buffers list
  • C-backtick / C-~ - next / previous buffer

Module Overview:

Windows:

  • C-tab - switch window
  • M-<arrow> - move to window in direction

Haskell:

  • C-: - In a haskell buffer, search this word in hoogle
  • M-, - Jump back after 'Goto definition' (M-.)

About

A minimal emacs configuration for haskell programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published