Support F# semantic motions
Kazark opened this issue · 2 comments
Kazark commented
Python mode for Vim has some nice semantic motions for Python such as:
[M Jump to previous class or method (normal, visual, operator modes) ]M Jump to next class or method (normal, visual, operator modes) aC Select a class. Ex: vaC, daC, yaC, caC (normal, operator modes) iC Select inner class. Ex: viC, diC, yiC, ciC (normal, operator modes) aM Select a function or method. Ex: vaM, daM, yaM, caM (normal, operator modes) iM Select inner function or method. Ex: viM, diM, yiM, ciM (normal, operator modes)
I would love to have motions like this for F# modules and functions.
P.S. FWIW I've asked a question on Vim StackExchange related to this.
kjnilsson commented
This requires support from the fsautocomplete server. it may support it but I don't have time to implement this myself.
Kazark commented
Okay good to know the general approach that would need to be taken. I'll take a note to work on this if I get the chance.