Skip to content

Instantly share code, notes, and snippets.

@10long
Created July 25, 2014 00:58
Show Gist options
  • Save 10long/cdd7fa30a83905b42e78 to your computer and use it in GitHub Desktop.
Save 10long/cdd7fa30a83905b42e78 to your computer and use it in GitHub Desktop.
;; goto jump ==================================================================
(defun jump-next-line-n (n)
(interactive "nnext:")
(next-line n))
(defun jump-prev-line-n (n)
(interactive "nnext:" )
(previous-line n))
(global-set-key (kbd "M-n") 'jump-next-line-n)
(global-set-key (kbd "M-p") 'jump-prev-line-n)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment