Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 378 Bytes
; these two commands allow smooth scrolling with still cursor
; use C-, to scroll up, C-. to scroll down
; author: Petr Glotov
(defun scroll-one-down ()
(interactive)
(scroll-down 1)
(previous-line)
)
(global-set-key [(control ?,)] 'scroll-one-down)
(defun scroll-one-up ()
(interactive)
(scroll-up 1)
(next-line)
)
(global-set-key [(control ?.)] 'scroll-one-up)
Jump to Line
Something went wrong with that request. Please try again.