👩💻 Join our community of thousands of amazing developers!
Premise I would like to quckly jump to the entrypoint of a repository I have just downloaded. Demonstration Repositories with lots of languages Code elisp 1 2 3 4 5 6 7 8 9 10 11 12 13 (defun open-main () (interactive) (let ((found (fz (sn "open-main") nil nil nil nil t))) (if found ;; (find-file found) (let ((path (s-replace-regexp "^\\([^:]+\\).*" "\\1" found)) (pos (s-replace-regexp "^[^:]+:\\([0-9]+\\):.*" "\\1" found))) (with-current-buffer (find-file path) (goto-byte (string-to-int pos...