Skip to content

Instantly share code, notes, and snippets.

@prakhar1989
Created December 25, 2014 19:50
Show Gist options
  • Save prakhar1989/20a99fd5b216c8d3ba37 to your computer and use it in GitHub Desktop.
Save prakhar1989/20a99fd5b216c8d3ba37 to your computer and use it in GitHub Desktop.
Emacs commands

Windows

  1. C-x o Switch cursor to another window. Go ahead and try this now to switch between your Clojure file and the REPL
  2. C-x 1 Delete all other windows. This doesn't close your buffers and it won't cause you to lose any work. It just un-splits your frame.
  3. C-x 2 Split window, above and below
  4. C-x 3 Split window, side by side
  5. C-x 0 Delete current window
  6. C-x 3 to split the window side by side again
  7. C-x o to switch to the right window
  8. C-x b cider-repl to switch to the CIDER buffer in the right window

Repl

  1. C-e to navigate to the end of the line
  2. C-x C-e to run in repl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment