Adds custom kbds for Man mode in emacs
This commit is contained in:
parent
5d8c7aa808
commit
3ad343ee23
1 changed files with 9 additions and 15 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue