Closed zct closed 9 years ago
sorry for the late reply on this! somehow i missed it.
i think you want to do something like this:
@key_map("<leader>o")
def cocoCreate():
with preserve_registers("a"):
set_register("a", "testing")
keys('"ap')
yeap, thks~~~ sorry for the late reply :+1:
for example i map this to insert an code snippet: @key_map("coco")
def cocoCreate():
in this function how insert code in File?