goto-line-preview
goto-line-preview copied to clipboard
Preview line when executing `goto-line` command
goto-line-preview
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.
Usage
Call it from minibuffer
directly,
M-x goto-line-preview
Or you can bind it globally to replace goto-line
:
(global-set-key [remap goto-line] 'goto-line-preview)
Contribute
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!