command-t icon indicating copy to clipboard operation
command-t copied to clipboard

Make scanner/finder for autoloadable and other functions

Open wincent opened this issue 9 years ago • 1 comments

Rather than having a million mappings for obscure functions, I'd like to have a way of looking them up in fuzzy way. Not sure whether selecting should insert :call [function] or just [function], and whether the mapping to activate the finder should only be present in command mode.

Note that we already have a command scanner/finder. Perhaps I should just be using that (wrapping the functions I need to access in commands).

wincent avatar Dec 16 '16 19:12 wincent

Perhaps I should just be using that (wrapping the functions I need to access in commands).

I think this is exactly what I should be doing. Commands are for users to execute; functions are for code to execute. Example commit where I expose a function to the user via a mappings/commands; the user shouldn't need to explicitly call a function for cases like this.

Doesn't mean that this still might not be useful for finding Vim functions (ie. the stuff in :h function-list), so I am going to leave it open.

wincent avatar Dec 17 '16 03:12 wincent

Given the big rewrite for v6.0.x, I'm closing all older issues as there is unlikely to be anything significant happening on the 5-x-devel branch from here on[^patches]. Feedback issue for 6.0.x is here:

  • https://github.com/wincent/command-t/issues/393

[^patches]: Patches and PRs would be welcome, but my personal efforts are going to be directed towards main.

wincent avatar Aug 26 '22 21:08 wincent