https://github.com/davep/goto-line-faster.el
Go to a line in Emacs just a little faster than normal
https://github.com/davep/goto-line-faster.el
Last synced: 5 months ago
JSON representation
Go to a line in Emacs just a little faster than normal
- Host: GitHub
- URL: https://github.com/davep/goto-line-faster.el
- Owner: davep
- License: gpl-3.0
- Created: 2020-08-24T21:09:04.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-07-28T17:24:29.000Z (almost 3 years ago)
- Last Synced: 2025-10-12T09:45:14.567Z (8 months ago)
- Language: Emacs Lisp
- Size: 31.3 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# goto-line-faster.el
## Commentary
`goto-line-faster.el` provides a utility command that binds M-g
followed by a number (1 through 9) to an invocation of
`goto-line` with the number pre-populated in the input in the minibuffer.
I wrote this because I've never liked M-g g (or
M-g M-g) as a way to go to a line number and my muscle
memory from way back (and other editing environments) is that M-g
alone starts prompting for a line number; but I'd like to use some of the
other M-g-prefixed key bindings too. This pretty much gives me
the best of both worlds.
Please note that this version of the code is very different from [the
original
version](https://github.com/davep/goto-line-faster.el/blob/775ed4916eb8028252db4dae5a0b71d865568638/goto-line-faster.el),
with [@phil-s](https://github.com/phil-s) [providing a much cleaner
approach](https://github.com/davep/goto-line-faster.el/issues/1).
[//]: # (README.md ends here)