Skip to content

Commit 3dc3098

Browse files
authored
Merge pull request #8 from purcell/patch-3
Don't suggest rebinding M-g
2 parents 72d35e6 + 61a4bc4 commit 3dc3098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Call it from `minibuffer` directly,
2323
```
2424
M-x goto-line-preview
2525
```
26-
Or you can just bind to any key you want.
26+
Or you can bind it globally to replace `goto-line`:
2727
```el
28-
(define-key global-map (kbd "M-g") #'goto-line-preview)
28+
(global-set-key [remap goto-line] 'goto-line-preview)
2929
```
3030

3131

0 commit comments

Comments
 (0)