(defvar gitmerge-mode-map
(let ((map (make-keymap)))
- (define-key map [(l)] 'gitmerge-show-log)
- (define-key map [(d)] 'gitmerge-show-diff)
- (define-key map [(f)] 'gitmerge-show-files)
- (define-key map [(s)] 'gitmerge-toggle-skip)
- (define-key map [(m)] 'gitmerge-start-merge)
+ (define-key map [(l)] #'gitmerge-show-log)
+ (define-key map [(d)] #'gitmerge-show-diff)
+ (define-key map [(f)] #'gitmerge-show-files)
+ (define-key map [(s)] #'gitmerge-toggle-skip)
+ (define-key map [(m)] #'gitmerge-start-merge)
+ ;; For convenience:
+ (define-key map [(n)] #'next-line)
+ (define-key map [(p)] #'previous-line)
map)
"Keymap for gitmerge major mode.")