summaryrefslogtreecommitdiff
path: root/lisp/init-editing.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-12 23:24:50 -0400
committerKyle Meyer <kyle@kyleam.com>2015-03-12 23:24:50 -0400
commitea518db86fe5fef3493009dd820facbed60b5ba1 (patch)
treef63a09175ac32e4dbfc5f5697c75239b005067aa /lisp/init-editing.el
parent97a2fe00b4424cbc3c2a0c485b0e99f902ef3b10 (diff)
downloademacs.d-ea518db86fe5fef3493009dd820facbed60b5ba1.tar.gz
Remove goto-line-with-feedback
Whenever I use goto-line, it's because I already have the line number, so I don't need the feedback. If I just wanted to jump to a visible line, I'd use ace-jump-mode.
Diffstat (limited to 'lisp/init-editing.el')
-rw-r--r--lisp/init-editing.el12
1 files changed, 0 insertions, 12 deletions
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index 6e66b9d..eb6adf3 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -125,16 +125,6 @@ and '<<<' mark the bounds of the narrowed region.
(comment-or-uncomment-region beg end))
(forward-line))
-;; From http://whattheemacsd.com/key-bindings.el-01.html
-(defun km/goto-line-with-feedback ()
- "Show line numbers when prompting for the line number input."
- (interactive)
- (unwind-protect
- (progn
- (linum-mode 1)
- (call-interactively 'goto-line))
- (linum-mode -1)))
-
;; Modified from http://oremacs.com/2015/01/26/occur-dwim/.
(defun km/occur ()
"Call `occur' with active region or symbol at point."
@@ -174,8 +164,6 @@ and '<<<' mark the bounds of the narrowed region.
(define-key search-map "r" 'query-replace-regexp)
(define-key search-map "R" 'replace-regexp)
-(global-set-key [remap goto-line] 'km/goto-line-with-feedback)
-
(define-prefix-command 'km/editing-map)
(global-set-key (kbd "C-c e") 'km/editing-map)