I have defined the following:
(defun narrow-into []
(narrow-to-defun)
(hs-show-block))
(define-key evil-normal-state-map (kbd "zi") 'narrow-into)
My Goal
The goal is that I can open up a file, hit "zi", and it will (1) narrow to the current defn and (2) open it up for editing.
My Problem
When I try to run it, I get "Wrong type argument: commandp, narrow-into"
Question
What am I doing wrong and how do I fix it?