Preview line when executing
goto-line
command.
Normally goto-line
will just ask for input of the line number
then once you hit RET
; it will just go to that line of code.
This package makes this better by navigating the line while you
are inputting in minibuffer.
P.S. Inspired by Visual Studio Code goto line preset behavior.
Call it from minibuffer
directly,
M-x goto-line-preview-goto-line
Or you can just bind to any key you want.
(define-key global-map (kbd "M-g") #'goto-line-preview-goto-line)
If you would like to contribute to this project, you may either clone and make pull requests to this repository. Or you can clone the project and establish your own branch of this tool. Any methods are welcome!