save <buffer> mappings info to buffer-local variable

and initialize s:named_map, s:macro_map earlier