Emacs: Details comments on Eshell, Helm and PDF issues

master
Pierre Neidhardt 2017-10-10 15:19:22 +01:00
parent d1ebed83ba
commit ca04345a2f
3 changed files with 10 additions and 5 deletions

View File

@ -237,6 +237,8 @@
;;; PDF
;;; pdf-tools requires poppler built with cairo support.
;;; We cannot defer loading as `pdf-tools-install' is required for PDF
;;; association.
(nconc package-selected-packages '(pdf-tools))
(when (require 'pdf-tools nil t)
(pdf-tools-install t t t))

View File

@ -7,6 +7,10 @@
;;; (for the first session only) and `eshell-mode-hook'.
;;; TODO: Redirecting big output to file (e.g. /dev/null) is extremely slow.
;; > cat /usr/share/dict/british-english | wc -l
;;; The above line yields rancom results. Plus it's much slower than
;; > wc -l /usr/share/dict/british-english
;;; while it should only cost an additional process to launch.
;;; REVIEW: Cannot "C-c C-c" during a `sudo pacman -Syu`. A bug was filed about that already.

View File

@ -1,12 +1,11 @@
;;; Evil+Helm
;;; TODO: Make bindings completely evil: <esc> then hjkl should do what is intended.
;;; Try out and see how convenient that is.
(global-set-key "\M-y" 'helm-show-kill-ring)
;; To navigate helm entries with hjkl, using the C- modifier would conflict
;; with C-h (help prefix) and C-k (`evil-insert-digraph'). We use M- instead.
;;; To navigate helm entries with hjkl, using the C- modifier would conflict
;;; with C-h (help prefix) and C-k (`evil-insert-digraph'). We use M- instead.
;;; We cannot use normal mode to navigate if we also want to use it to edit the
;;; minibuffer content.
(define-keys helm-map
"C-\\" 'helm-toggle-resplit-and-swap-windows
"M-\\" 'helm-toggle-resplit-and-swap-windows