" Copy path to a named register (* in this case) when calling :JsonPath let g:jsonpath_register = '*' " Define mappings for json buffers au FileType json noremap d :call jsonpath#echo() au FileType json noremap g :call jsonpath#goto()