File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 33[ ![ MELPA Stable] ( https://stable.melpa.org/packages/goto-line-preview-badge.svg )] ( https://stable.melpa.org/#/goto-line-preview )
44[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPL%20v3-blue.svg )] ( https://www.gnu.org/licenses/gpl-3.0 )
55
6-
7- # goto-line-preview #
6+ # goto-line-preview
87> Preview line when executing ` goto-line ` command.
98
109<p align =" center " >
11- <img src =" ./screenshot /goto-line-preview-demo.gif " width =" 450 " height =" 513 " />
10+ <img src =" ./etc /goto-line-preview-demo.gif " width =" 450 " height =" 513 " />
1211</p >
1312
14- Normally ` goto-line ` will just ask for input of the line number
15- then once you hit ` RET ` ; it will just go to that line of code.
16- This package makes this better by navigating the line while you
17- are inputting in minibuffer.
13+ Normally ` goto-line ` will just ask for input of the line number then once you hit
14+ ` RET ` ; it will just go to that line of code. This package makes this better by
15+ navigating the line while you are inputting in minibuffer.
1816
1917* P.S. Inspired by [ Visual Studio Code] ( https://code.visualstudio.com/ ) goto line preset behavior.*
2018
19+ ## Usage
2120
22- ## Usage ##
2321Call it from ` minibuffer ` directly,
22+
2423```
2524M-x goto-line-preview
2625```
26+
2727Or you can bind it globally to replace ` goto-line ` :
28+
2829``` el
2930(global-set-key [remap goto-line] 'goto-line-preview)
3031```
3132
33+ ## Contribution
3234
33- ## Contribution ##
3435If you would like to contribute to this project, you may either
3536clone and make pull requests to this repository. Or you can
3637clone the project and establish your own branch of this tool.
You can’t perform that action at this time.
0 commit comments