vim-fireplace icon indicating copy to clipboard operation
vim-fireplace copied to clipboard

Feature Request: Show function arglist in status bar

Open sjl opened this issue 12 years ago • 3 comments

One of my favorite SLIMV features is that when you type a function name and press space in insert mode it will show the arglist in the status bar for you. It's really handy for remembering the order of arguments. Any chance we can get something like that in Foreplay?

Example:

1

2

sjl avatar Feb 07 '13 22:02 sjl

What does the Vim side of this entail? Remapping space and twiddling 'showmode'?

tpope avatar Feb 08 '13 01:02 tpope

Roughly, yes:

https://bitbucket.org/kovisoft/slimv/src/83daf25d0459df56e0b41fbddea993d2ceb0c5d9/ftplugin/slimv.vim?at=default#cl-2244

sjl avatar Feb 08 '13 01:02 sjl

Both of these make me squeamish.

Then again, it's probably pretty easy to rig up yourself, no? Start with

echo foreplay#evalparse("(-> #'map meta :arglists pr-str)")

tpope avatar Feb 08 '13 02:02 tpope