zarchive-vim-fsharp icon indicating copy to clipboard operation
zarchive-vim-fsharp copied to clipboard

Support F# semantic motions

Open Kazark opened this issue 9 years ago • 2 comments

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.

Kazark avatar May 12 '16 13:05 Kazark

This requires support from the fsautocomplete server. it may support it but I don't have time to implement this myself.

kjnilsson avatar Jun 08 '16 19:06 kjnilsson

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.

Kazark avatar Jun 08 '16 20:06 Kazark