-;; Time-stamp: <2015-02-09 16:49:44 kmodi>
+;; Time-stamp: <2015-02-10 11:25:13 kmodi>
 
 ;; Functions related to editing text in the buffer
 

;;        Numeric prefixes are supported too:
;;
;;        jj 5j 7j 2j j 7n n n j j p j n
;;
;;        Press any other key (other than j, p or n) to quit this behavior.
(key-chord-define-global "jj" (defhydra hydra-comment()
                                "comment and navigate"
                                ("j" endless/comment-line-or-region "toggle comment")
                                ("p" previous-line "go to previous line")
                                ("n" next-line "go to next line")))

(key-chord-define-global "^^" (λ (insert "λ")))


        (remove-hook hook 'indent-guide-mode)))))

;; Aggressive auto indentation
(defun endless/indent-defun ()
  "Indent current defun.
Do nothing if mark is active (to avoid deactivaing it), or if
