/ClojureProjects

My Repository for some problems solved in Clojure from Websites like 4Clojure.

Primary LanguageClojure

Emacs Cheatsheet

A sample configuration for Emacs can be found here.

Configuring Emacs to work with a german keyboard layout on a Mac

Use CMD as the META button
Copy this snippet into ~/.emacs.d/init.el somewhere into the existing file.

(setq mac-command-modifier 'meta
        mac-option-modifier 'none
        default-input-method "MacOSX")

Useful Emacs commands

Start REPL: M-x cider-jack-in

Load the full file to REPL: C-c C-k

Execute command with cursor at the end of a bracket: C-c C-p or C-x C-e

Save the current buffer to its file (save-buffer): C-x C-s

Cut (really kill): C-w

Copy (really kill-ring-save): M-w

Paste (really yank): C-y

Split the selected window into two windows, one above the other (split-window-vertically): C-x 2

Split the selected window into two windows positioned side by side (split-window-horizontally): C-x 3

Jump between open windows: C-x C-b

Close Emacs: C-x C-c