From b24740626e329a8620fc9f01d4d5485ef478d4d3 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sat, 1 Jul 2017 23:15:13 -0400 Subject: [PATCH] Adds basic vim motion kbds to man mode --- configs/shared/.emacs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/shared/.emacs b/configs/shared/.emacs index 2853b3344..e01a7c4e2 100644 --- a/configs/shared/.emacs +++ b/configs/shared/.emacs @@ -208,6 +208,13 @@ :ensure t) +;; Man configuration +(define-key Man-mode-map (kbd "j") 'next-line) +(define-key Man-mode-map (kbd "k") 'previous-line) +(define-key Man-mode-map (kbd "h") 'backward-char) +(define-key Man-mode-map (kbd "l") 'forward-char) + + ;; Git client (use-package git :ensure t)