We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ba450 commit 4b92954Copy full SHA for 4b92954
json-mode.el
@@ -143,6 +143,13 @@ This function calls `json-mode--update-auto-mode' to change the
143
144
(define-key json-mode-map (kbd "C-c C-p") 'json-mode-show-path)
145
146
+;;;###autoload
147
+(defun json-mode-kill-path ()
148
+ (interactive)
149
+ (kill-new (jsons-print-path)))
150
+
151
+(define-key json-mode-map (kbd "C-c P") 'json-mode-kill-path)
152
153
;;;###autoload
154
(defun json-mode-beautify ()
155
"Beautify / pretty-print the active region (or the entire buffer if no active region)."
0 commit comments