You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope I'm not missing something obvious but navigating into (and out of) subforms seems to be more difficult than one would hope it would be in a Lisp. For example imagine the following Clojure code:
(defnsome-function"Some docstring."
[x]
(if (= x 42)
"That's the answer!"
(str x " is not the answer")))
If the cursor is at |(defn (perhaps by way of using [[ or ]] to navigate) and one wanted to navigate into the function to add a parameter, for example but imagine introducing another let assignment, adjusting a condition, etc., how would one achieve this? Currently I believe you have to move the cursor into the form you wish to subnavigate and use the sibling motion keys but then of course this navigates elements and not forms.
The text was updated successfully, but these errors were encountered:
Something like vim-easymotion could definitely facilitate traversing levels until the aforementioned list navigation commands become available. In fact, for jumps of more than a level or two, I could even imagine easymotion being faster (though perhaps less aesthetically pleasing) than the corresponding paredit-like commands.
I hope I'm not missing something obvious but navigating into (and out of) subforms seems to be more difficult than one would hope it would be in a Lisp. For example imagine the following Clojure code:
If the cursor is at
|(defn
(perhaps by way of using[[
or]]
to navigate) and one wanted to navigate into the function to add a parameter, for example but imagine introducing anotherlet
assignment, adjusting a condition, etc., how would one achieve this? Currently I believe you have to move the cursor into the form you wish to subnavigate and use the sibling motion keys but then of course this navigates elements and not forms.The text was updated successfully, but these errors were encountered: