Adds custom kbds for Man mode in emacs

This commit is contained in:
William Carroll 2017-07-29 21:49:05 -04:00
parent 5d8c7aa808
commit 3ad343ee23

View file

@ -210,23 +210,17 @@
;; Nyan cat ;; Nyan cat
(use-package nyan-mode (use-package nyan-mode
:ensure t)
;; Man configuration ;; Man page viewing
(define-key Man-mode-map (kbd "j") 'next-line) (use-package man
(define-key Man-mode-map (kbd "k") 'previous-line) :bind (:map Man-mode-map
(define-key Man-mode-map (kbd "h") 'backward-char) ("j" . next-line)
(define-key Man-mode-map (kbd "l") 'forward-char) ("k" . previous-line)
("h" . backward-char)
("l" . forward-char)
;; Git client ("g" . beginning-of-buffer)
(use-package git ("G" . end-of-buffer)))
:ensure t)
;; Load custom Emacs functions
(load "~/.emacs.d/wc-helper-functions.el")
;; ERC configuration (IRC in Emacs) ;; ERC configuration (IRC in Emacs)