A minimal emacs configuration for haskell programming using dante and friends.
- Coming from Vim? Try the evil branch which includes vim key bindings
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!
Files:
F8
- Toggle neotree
Buffers:
F7
- Open buffers listC-backtick
/C-~
- next / previous buffer
Module Overview:
F6
- Toggle imenu-list
Windows:
C-tab
- switch windowM-<arrow>
- move to window in direction
Haskell:
C-:
- In a haskell buffer, search this word in hoogleM-,
- Jump back after 'Goto definition' (M-.
)