 
 
 (defun toto ()
-    (interactive)
+  (interactive)
   (buffer-list-to-columns 6))
 
 


;; Use mic-paren in replacement of standard paren.el
(use-package mic-paren
    :ensure t
    :config
    (paren-activate)                      ; activating
    (add-hook 'c-mode-common-hook
              (function (lambda ()
                (paren-toggle-open-paren-context 1))))
    ;; In LaTeX-mode we want this
    (add-hook 'LaTeX-mode-hook
              (function (lambda ()
                (paren-toggle-matching-quoted-paren 1)
                (paren-toggle-matching-paired-delimiter 1)))))



(use-package markdown-mode
    :ensure t
    :defer t
    :mode "\\.md\\'")


(provide 'keyboard)


;; Goto matching parenthesis
(defun match-paren ()
  "Will bounce between matching parens just like % in vi."
  (interactive)
  (let ((prev-char (char-to-string (preceding-char)))
	(next-char (char-to-string (following-char))))
    (cond ((string-match "[[{(<]" next-char) (forward-sexp 1))
	  ((string-match "[\]})>]" prev-char) (backward-sexp 1))
	  (t (error "%s" "Not on a paren, brace, or bracket")))))

(global-set-key [(control =)] 'match-paren)

