add keydoc.lua
fix keydoc style
keydoc in rc.lua