1

I am switching to Clojurebox to edit my clojure files. However I can't get the automatic alignment to work. I want the cursor to move two spaces after the line that I am editing when I hit return.

unj2
  • 52,135
  • 87
  • 247
  • 375

2 Answers2

1

The key combination for newline-and-indent in Emacs is Ctrl-j.

harto
  • 89,823
  • 9
  • 47
  • 61
0

When you hit TAB when your mark is somewhere in a line, it (clojure-mode) indents the line you are on. Also you can mark a bunch of code with C-SPC + arrows and hit TAB to indent that.

Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149