         ; VHDL -> Statistics buffer
             ; Open buffer "*Messages*" to see the output
 
+    ; http://stackoverflow.com/a/14230685/2450748
+    ; (add-hook 'vhdl-mode-hook
+              ; (lambda () (evil-leader/set-key "th" 'vhdl-template-header)))
+                    ; http://stackoverflow.com/a/14230685/2450748
+
+    ; (add-hook 'vhdl-mode-hook
+              ; (lambda () (evil-leader/set-key "te" 'vhdl-template-entity)))
+
+    ; http://stackoverflow.com/a/14230685/2450748
+    (add-hook 'vhdl-mode-hook
+        ; vhdl-template-*
+              (lambda ()
+                        (evil-leader/set-key "th" 'vhdl-template-header)
+                        (evil-leader/set-key "tn" 'vhdl-compose-new-component)
+                        (evil-leader/set-key "tp" 'vhdl-template-port)
+                        (evil-leader/set-key "tf" 'vhdl-template-for-generate)
+                        (evil-leader/set-key "te" 'vhdl-template-entity)
+                        (evil-leader/set-key "ta" 'vhdl-template-architecture)
+                        (evil-leader/set-key "ti" 'vhdl-template-component-inst)
+               ))
+
+    (evil-leader/set-key
+       "gd"  'vc-diff          ;; diff current file
+       "gu"  'vc-revert        ;; undo current file to original (vcs)
+       )
+
+;; sr-speedbar - like Tagbar in vim
+    ; o - expand hierarchy
+
+;; Add verilog mode to the speedbar
+    (require 'speedbar)
+    (speedbar-add-supported-extension '(".v" ".sv" ".svh" ))
+        ; http://www.veripool.org/issues/1025-Verilog-mode-Integration-with-the-speedbar

        ; :menu-bar-open
            ; http://stackoverflow.com/a/191377/2450748

    ;; show help for current mode
        ;; C-h m
    ;; show all keybindings for current mode

          ;; C-h m
      ;; show all keybindings for current mode
          ;; C-h b
    ; Flycheck rule for GHDL:
        ; https://gist.github.com/MasWag/4b74f9ac8f1014a73246

    ; Tutorials
        ; https://www.microlab.ti.bfh.ch/bachelor/f/BTF4220/digital_electronics_2/public/digital/emacsTemplates.pdf
