Doom updates

This commit is contained in:
i.ortega 2020-05-03 11:50:14 +02:00
parent cc1eab3e76
commit 66a5d6c467
2 changed files with 9 additions and 0 deletions

View File

@ -146,6 +146,8 @@
(defadvice ansi-term (before force-bash)
(interactive (list my-term-shell)))
(ad-activate 'ansi-term)
(map! :map 'pdf-view-mode-map
:n "f" #'pdf-links-action-perform)
(defun ii-mode (mode-map mode-map-name)
(mapcar
(lambda (command)
@ -349,6 +351,7 @@
:n "z a" #'yafolding-toggle-fold
:n "z c" #'yafolding-hide-parent-element
:n "z C" (lambda () (interactive) (yafolding-rec 'hide-element))
:n "z o" #'yafolding-show-element
:n "z O" #'yafolding-show-element
:n "z m" (lambda () (interactive) (yafolding-rec 'hide-all))
:n "z r" #'yafolding-show-all

View File

@ -222,6 +222,11 @@ zsh as ansi-term shell
(ad-activate 'ansi-term)
#+END_SRC
#+BEGIN_SRC emacs-lisp
(map! :map 'pdf-view-mode-map
:n "f" #'pdf-links-action-perform)
#+END_SRC
** 'ii' in INSERT mode to escape to NORMAL mode:
#+BEGIN_SRC emacs-lisp
(defun ii-mode (mode-map mode-map-name)
@ -465,6 +470,7 @@ Folding:
:n "z a" #'yafolding-toggle-fold
:n "z c" #'yafolding-hide-parent-element
:n "z C" (lambda () (interactive) (yafolding-rec 'hide-element))
:n "z o" #'yafolding-show-element
:n "z O" #'yafolding-show-element
:n "z m" (lambda () (interactive) (yafolding-rec 'hide-all))
:n "z r" #'yafolding-show-all