                                 `(("3" . toggle-comment-on-line-or-region)
                                   ("p" . previous-line)
                                   ("n" . next-line))))
+
 (key-chord-define-global "^^" (λ (insert "λ")))
 
 

(defun modi/downcase ()   (interactive) (xah-cycle-letter-case 16))
(defun modi/capitalize () (interactive) (xah-cycle-letter-case 64))

(with-eval-after-load 'region-bindings-mode
  (bind-keys
   :map region-bindings-mode-map

 ("C-S-k"   . smart-kill-whole-line)
 ;; override the binding of `C-o` for `open-line'
 ("C-o"     . modi/smart-open-line)
 ("C-j"     . modi/pull-up-line)
 ("M-j"     . comment-indent-new-line)
 ("C-x C-u" . modi/upcase)
 ("C-x C-l" . modi/downcase))

(hydra-create "M-c"
  '(("c"   modi/capitalize       "Capitalize")     ; M-c c
    ("u"   modi/upcase           "UPCASE")         ; M-c u
    ("l"   modi/downcase         "downcase")       ; M-c l
    ("M-c" xah-cycle-letter-case "→Cap→UP→down→")) ; M-c M-c
  modi-mode-map)

(bind-to-modi-map "x" eval-and-replace-last-sexp)
;; Bind `what-cursor-position' to `modi-mode-map' as I have overridden its
;; default binding `C-x =' with something else.
(bind-to-modi-map "=" what-cursor-position)

;; Source: http://oremacs.com/2015/01/14/repeatable-commands/
;; Usage: Quickly press 3 two times consecutively; that will toggle comment
;;        on the current line or region and proceed the cursor to the next line.
;;        Now each consecutive pressing of 3, will toggle the comment on that
