" Get me the function name!
map _F ma[[k"xyy`a:echo @x
Ok, do you want me to explain it piece-meal... here it goes...
1. map _F
This will map key combination '_' followe by 'F' to whatever follows.
Record/mark your current cursour location in the file into 'a'.
Takes you to the start of the current function.
Move one line up.
Read/yank current line into register 'x'
Get back to where your cursour originally was, i.e. marked as 'a'
Echo the contents of reg 'x', which happens to be the function name!
This is the actual source of this tip!
Note: This won't work if you define your functions in a little different way!!!
In that case use [[ to go to start of the function, read the name and press '' (two single quotes) to return to previous cursour location.