Skip to content

Instantly share code, notes, and snippets.

@jproyo
Last active June 14, 2019 08:05
Show Gist options
  • Save jproyo/160e9477ce9d0893d6644f5c9f00e062 to your computer and use it in GitHub Desktop.
Save jproyo/160e9477ce9d0893d6644f5c9f00e062 to your computer and use it in GitHub Desktop.
Tips for working with Emacs in Haskell. Usefull commands

Tips for Spacemacs with Haskell

  • C-c C-l => Load ghci in place with the current buffer
  • <SPC> C-r => Reformat region hindent
  • , F => Format imports
  • , f => hindent
  • , r b => hlint refactor buffer
  • , r s => suggestions
  • , r r => refactor at point
  • , h i => info at point
  • , i r => restart intero
  • C-o => go back
  • C-i => go forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment