.dotfiles

Check-in [98b1be1e28]
Login

Check-in [98b1be1e28]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Emacs: added web-mode
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 98b1be1e28235bf319072cdde8194e180c00f7d32fbf703b0e53bbdb5d249de3
User & Date: Cthulhux 2020-05-18 13:10:11
Context
2020-05-25
20:20
straight.el introduction check-in: aa71d5d893 user: Cthulhux tags: trunk
2020-05-18
13:10
Emacs: added web-mode check-in: 98b1be1e28 user: Cthulhux tags: trunk
2020-05-12
11:10
ripgrep is relatively nice. Let's use it in Emacs if we have ripgrep available anyway. check-in: 68ed7f464d user: Cthulhux tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to emacs/init.el.

161
162
163
164
165
166
167







168
169
170
171
172
173
174
;; Preview HTML:
(use-package org-preview-html
  :ensure t
  :after org
  :init
  (add-hook 'org-mode-hook #'org-preview-html-mode))








;; RSS feed reader with some extras:
(use-package elfeed
  :ensure t)

(use-package elfeed-goodies
  :ensure t
  :after elfeed







>
>
>
>
>
>
>







161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
;; Preview HTML:
(use-package org-preview-html
  :ensure t
  :after org
  :init
  (add-hook 'org-mode-hook #'org-preview-html-mode))

;; Web development:
(use-package web-mode
  :ensure t
  :init
  (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
  (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)))

;; RSS feed reader with some extras:
(use-package elfeed
  :ensure t)

(use-package elfeed-goodies
  :ensure t
  :after elfeed
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; 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.
 '(canlock-password "5e5c6fd080d6c0bce2d09b8ec6e3693c1a63c654")
 '(ivy-count-format "(%d/%d) " t)
 '(ivy-use-virtual-buffers t t)
 '(ivy-virtual-abbreviate (quote full) t)
 '(package-selected-packages
   (quote
    (lsp-mode visual-regexp-steroids vc-fossil use-package smartparens sly semi paradox org2blog org-web-tools org-preview-html nofrils-acme-theme nadvice multiple-cursors mood-line lsp-ui gopher go-mode gh flycheck exec-path-from-shell elfeed-protocol elfeed-goodies doom-modeline darcsum counsel company-lsp circe auto-package-update async all-the-icons-ivy-rich all-the-icons-gnus all-the-icons-dired))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; 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.
 )

(provide 'init)
;;; init.el ends here







|
|
|


|









402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; 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.
 '(canlock-password "5e5c6fd080d6c0bce2d09b8ec6e3693c1a63c654")
 '(ivy-count-format "(%d/%d) ")
 '(ivy-use-virtual-buffers t)
 '(ivy-virtual-abbreviate (quote full))
 '(package-selected-packages
   (quote
    (web-mode lsp-mode visual-regexp-steroids vc-fossil use-package smartparens sly semi paradox org2blog org-web-tools org-preview-html nofrils-acme-theme nadvice multiple-cursors mood-line lsp-ui gopher go-mode gh flycheck exec-path-from-shell elfeed-protocol elfeed-goodies doom-modeline darcsum counsel company-lsp circe auto-package-update async all-the-icons-ivy-rich all-the-icons-gnus all-the-icons-dired))))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; 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.
 )

(provide 'init)
;;; init.el ends here