tyru / current-func-info.vim

Get current function name
http://www.vim.org/scripts/script.php?script_id=3197
62 stars 14 forks source link

what is the default shortcut? #17

Closed vitaly-zdanevich closed 8 years ago

vitaly-zdanevich commented 8 years ago

Please add to readme - hot to call this nnoremap <C-g>f :echo cfi#format("%s", "")<CR>

tyru commented 8 years ago

No default shortcut. Because this plugin provides only the way of getting function name in current position. Please include cfi#format() in your statusline and so on like this.

let &statusline .= '%( | %{cfi#format("%s()", "")}%)'