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
|
||||
|
||||
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
|
||||
- deja-dup
|
||||
- emacs
|
||||
@@ -46,8 +50,19 @@ mint_desktop_common_packages:
|
||||
- fonts-noto-color-emoji
|
||||
- git-delta
|
||||
- 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
|
||||
# pdf-tools epdfinfo build deps (poppler); libpng-dev/zlib1g-dev are already
|
||||
# satisfied by other packages.
|
||||
- libpoppler-glib-dev
|
||||
- libpoppler-private-dev
|
||||
- libsecret-tools
|
||||
- libtool-bin
|
||||
# vterm/multi-vterm native module (compiled against system libvterm).
|
||||
- libvterm-dev
|
||||
- libx11-dev
|
||||
- mpv
|
||||
- pinentry-gnome3
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
;;; python.el -*- lexical-binding: t; -*-
|
||||
|
||||
(require 'reformatter)
|
||||
(use-package reformatter
|
||||
:ensure t
|
||||
:demand t)
|
||||
|
||||
(with-eval-after-load 'project
|
||||
(add-to-list 'project-vc-extra-root-markers "pyproject.toml")
|
||||
|
||||
@@ -29,6 +29,20 @@
|
||||
:hook
|
||||
(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
|
||||
:ensure t
|
||||
:after elfeed
|
||||
|
||||
Reference in New Issue
Block a user