mirror of
https://github.com/fscotto/infra.git
synced 2026-07-29 16:20:01 +00:00
Fix Emacs configuration
This commit is contained in:
@@ -38,6 +38,10 @@ mint_development_packages:
|
|||||||
- python3-venv
|
- python3-venv
|
||||||
|
|
||||||
mint_desktop_common_packages:
|
mint_desktop_common_packages:
|
||||||
|
# autoconf/automake/libtool-bin build the Emacs pdf-tools (epdfinfo) and
|
||||||
|
# vterm native modules; the lib*-dev headers below are their link deps.
|
||||||
|
- autoconf
|
||||||
|
- automake
|
||||||
- dconf-cli
|
- dconf-cli
|
||||||
- deja-dup
|
- deja-dup
|
||||||
- emacs
|
- emacs
|
||||||
@@ -46,8 +50,19 @@ mint_desktop_common_packages:
|
|||||||
- fonts-noto-color-emoji
|
- fonts-noto-color-emoji
|
||||||
- git-delta
|
- git-delta
|
||||||
- gnome-keyring
|
- gnome-keyring
|
||||||
|
# hunspell CLI + Italian dictionary for Emacs spell checking (spell.el sets
|
||||||
|
# ispell-really-hunspell); hunspell-en-us is pulled in as a dependency.
|
||||||
|
- hunspell
|
||||||
|
- hunspell-it
|
||||||
- libfreetype-dev
|
- libfreetype-dev
|
||||||
|
# pdf-tools epdfinfo build deps (poppler); libpng-dev/zlib1g-dev are already
|
||||||
|
# satisfied by other packages.
|
||||||
|
- libpoppler-glib-dev
|
||||||
|
- libpoppler-private-dev
|
||||||
- libsecret-tools
|
- libsecret-tools
|
||||||
|
- libtool-bin
|
||||||
|
# vterm/multi-vterm native module (compiled against system libvterm).
|
||||||
|
- libvterm-dev
|
||||||
- libx11-dev
|
- libx11-dev
|
||||||
- mpv
|
- mpv
|
||||||
- pinentry-gnome3
|
- pinentry-gnome3
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
;;; python.el -*- lexical-binding: t; -*-
|
;;; python.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(require 'reformatter)
|
(use-package reformatter
|
||||||
|
:ensure t
|
||||||
|
:demand t)
|
||||||
|
|
||||||
(with-eval-after-load 'project
|
(with-eval-after-load 'project
|
||||||
(add-to-list 'project-vc-extra-root-markers "pyproject.toml")
|
(add-to-list 'project-vc-extra-root-markers "pyproject.toml")
|
||||||
|
|||||||
@@ -29,6 +29,20 @@
|
|||||||
:hook
|
:hook
|
||||||
(elfeed-show-mode . visual-line-mode))
|
(elfeed-show-mode . visual-line-mode))
|
||||||
|
|
||||||
|
(use-package evil-collection
|
||||||
|
:ensure t
|
||||||
|
:after (evil elfeed)
|
||||||
|
:config
|
||||||
|
;; Enable Vim-style keybindings only for elfeed (search + entry views),
|
||||||
|
;; leaving the rest of the configuration on evil's defaults.
|
||||||
|
(evil-collection-init (list 'elfeed))
|
||||||
|
;; Restore the custom "v" -> mpv binding, which evil's normal-state visual
|
||||||
|
;; selection would otherwise shadow inside elfeed buffers.
|
||||||
|
(evil-collection-define-key 'normal 'elfeed-search-mode-map
|
||||||
|
"v" #'elfeed-play-with-mpv)
|
||||||
|
(evil-collection-define-key 'normal 'elfeed-show-mode-map
|
||||||
|
"v" #'elfeed-play-with-mpv))
|
||||||
|
|
||||||
(use-package elfeed-org
|
(use-package elfeed-org
|
||||||
:ensure t
|
:ensure t
|
||||||
:after elfeed
|
:after elfeed
|
||||||
|
|||||||
Reference in New Issue
Block a user