Skip to content

Instantly share code, notes, and snippets.

@deadghost
Created June 27, 2014 17:19
Show Gist options
  • Save deadghost/0ebf2bfaec0a724e0ddb to your computer and use it in GitHub Desktop.
Save deadghost/0ebf2bfaec0a724e0ddb to your computer and use it in GitHub Desktop.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Cider REPL ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; TODO: Have 0 and ^ start after >
(add-hook 'cider-repl-mode-hook
(lambda ()
(evil-local-set-key 'normal (kbd "C-j") 'cider-repl-forward-input)
(evil-local-set-key 'insert (kbd "C-j") 'cider-repl-forward-input)
(evil-local-set-key 'normal (kbd "C-k") 'cider-repl-backward-input)
(evil-local-set-key 'insert (kbd "C-k") 'cider-repl-backward-input)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment