mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
+fixes
This commit is contained in:
13
.emacs
13
.emacs
@@ -405,6 +405,7 @@
|
|||||||
;; 20170703.01:
|
;; 20170703.01:
|
||||||
;; - fixed recentf-exclude list, now REALLY ignores unreadables
|
;; - fixed recentf-exclude list, now REALLY ignores unreadables
|
||||||
;; - added export for easier export and commit of dot-emacs
|
;; - added export for easier export and commit of dot-emacs
|
||||||
|
;; - added tvd-suggest-jump to jump between input and output
|
||||||
|
|
||||||
;; ** TODO
|
;; ** TODO
|
||||||
|
|
||||||
@@ -3817,11 +3818,21 @@ defun."
|
|||||||
(suggest--nth-heading 1)
|
(suggest--nth-heading 1)
|
||||||
(forward-line 1)))
|
(forward-line 1)))
|
||||||
|
|
||||||
|
(defun tvd-suggest-jump ()
|
||||||
|
"Jump between input and output suggest buffer."
|
||||||
|
(interactive)
|
||||||
|
(forward-line -1)
|
||||||
|
(if (eq (line-number-at-pos) 1)
|
||||||
|
(suggest--nth-heading 2)
|
||||||
|
(suggest--nth-heading 1))
|
||||||
|
(forward-line 1))
|
||||||
|
|
||||||
(eval-after-load "suggest"
|
(eval-after-load "suggest"
|
||||||
'(progn
|
'(progn
|
||||||
(add-hook 'suggest-mode-hook
|
(add-hook 'suggest-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(local-set-key (kbd "C-l") 'tvd-suggest-reload)))))
|
(local-set-key (kbd "C-l") 'tvd-suggest-reload)
|
||||||
|
(local-set-key (kbd "<tab>") 'tvd-suggest-jump)))))
|
||||||
|
|
||||||
;; ** Emacs Interface
|
;; ** Emacs Interface
|
||||||
;; *** Parens
|
;; *** Parens
|
||||||
|
|||||||
821
emacs.html
821
emacs.html
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user