dotfiles

Settings and scripts
git clone git://git.konyahin.xyz/dotfiles
Log | Files | Refs

commit 7207ba51c1d4d9f7546104fd12b28b4913506b34
parent ffa1a2911813754c2b6931fc8d838905446f36bd
Author: Anton Konyahin <me@konyahin.xyz>
Date:   Mon,  3 Apr 2023 13:34:01 +0300

emacs: jumping over headers in markdown

Diffstat:
Memacs/dot-emacs | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/emacs/dot-emacs b/emacs/dot-emacs @@ -12,6 +12,8 @@ (require 'markdown-mode) (add-hook 'markdown-mode-hook 'auto-fill-mode) (add-hook 'markdown-mode-hook 'flyspell-mode) +(define-key markdown-mode-map (kbd "M-<up>") 'markdown-previous-visible-heading) +(define-key markdown-mode-map (kbd "M-<down>") 'markdown-next-visible-heading) (require 'howm) (setq howm-file-name-format "%Y-%m-%d-%H%M%S.md") @@ -22,8 +24,6 @@ (define-key riffle-summary-mode-map "\C-h" nil) (define-key howm-view-contents-mode-map "\C-h" nil) -(require 'ob-http) - ; dired settings (add-hook 'dired-mode-hook #'dired-hide-details-mode) (setq dired-listing-switches "-lp") @@ -41,7 +41,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages '(ob-http howm markdown-mode))) + '(package-selected-packages '(howm markdown-mode))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.