Compare commits
2 Commits
dd99c33246
...
e648c73c87
Author | SHA1 | Date | |
---|---|---|---|
e648c73c87 | |||
9ce77fb55e |
29
README.org
29
README.org
@ -306,7 +306,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
|
|||||||
(vertico . "gnu")
|
(vertico . "gnu")
|
||||||
(with-editor . "nongnu")
|
(with-editor . "nongnu")
|
||||||
(yasnippet . "gnu"))
|
(yasnippet . "gnu"))
|
||||||
package-selected-packages '(async debbugs no-littering))
|
package-selected-packages '(debbugs no-littering))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+caption[Set the third set of Emacs options: upgrade Org and transient]:
|
#+caption[Set the third set of Emacs options: upgrade Org and transient]:
|
||||||
@ -961,10 +961,7 @@ extension.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Listing [[lst:extra-dired-key-bindings]] adds a new key binding to =dired-mode-map=
|
Listing [[lst:extra-dired-key-bindings]] adds a new key binding to =dired-mode-map=
|
||||||
to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]] inside Emacs and implements asynchronous
|
to open files with the [[https://en.wikipedia.org/wiki/Eww_(web_browser)][Emacs Web Wowser]] inside Emacs.
|
||||||
file copying using the src_emacs-lisp{(find-library "dired-async")} library
|
|
||||||
under the hood. *NOTE:* [[https://github.com/stsquad/dired-rsync#dired-rsync--asynchronous-rsync-from-dired][asynchronous rsync from dired]] may be a better
|
|
||||||
alternative.
|
|
||||||
|
|
||||||
#+caption[Extra =dired= key bindings]:
|
#+caption[Extra =dired= key bindings]:
|
||||||
#+caption: Extra =dired= key bindings.
|
#+caption: Extra =dired= key bindings.
|
||||||
@ -980,13 +977,6 @@ alternative.
|
|||||||
(error "Eww rejects `%s', since it is not a regular file" file))))
|
(error "Eww rejects `%s', since it is not a regular file" file))))
|
||||||
|
|
||||||
(keymap-set dired-mode-map "E" #'dired-eww-open-file))
|
(keymap-set dired-mode-map "E" #'dired-eww-open-file))
|
||||||
|
|
||||||
(when (require 'dired-async nil 'noerror)
|
|
||||||
;; Does this fail? Or is it too fast?
|
|
||||||
;; Fix this later, but rsync works from zsh.
|
|
||||||
;; https://www.emacs.dyerdwelling.family/emacs/
|
|
||||||
;; https://www.reddit.com/r/emacs/comments/g0jkkj/using_dired_asynchronously/
|
|
||||||
(setopt dired-async-small-file-max 5000000))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* [[info:emacs#Completion Styles][Minibuffer completion styles (info)]]
|
* [[info:emacs#Completion Styles][Minibuffer completion styles (info)]]
|
||||||
@ -6779,6 +6769,7 @@ contrary to for instance [[https://github.com/Fanael/rainbow-delimiters#readme][
|
|||||||
(dolist (symbol '(emacs-lisp-mode-hook
|
(dolist (symbol '(emacs-lisp-mode-hook
|
||||||
go-ts-mode-hook
|
go-ts-mode-hook
|
||||||
ielm-mode-hook
|
ielm-mode-hook
|
||||||
|
inferior-python-mode-hook
|
||||||
lisp-data-mode-hook
|
lisp-data-mode-hook
|
||||||
lisp-mode-hook
|
lisp-mode-hook
|
||||||
python-mode-hook
|
python-mode-hook
|
||||||
@ -6860,8 +6851,8 @@ formatter for Python]].
|
|||||||
#+begin_src emacs-lisp -n :results silent
|
#+begin_src emacs-lisp -n :results silent
|
||||||
(when (and (ensure-package-installation 'electric-operator)
|
(when (and (ensure-package-installation 'electric-operator)
|
||||||
(fboundp 'electric-operator-mode))
|
(fboundp 'electric-operator-mode))
|
||||||
(add-hook 'c-mode-common-hook #'electric-operator-mode)
|
(dolist (symbol '(c-mode-common-hook julia-mode-hook python-mode-hook))
|
||||||
(add-hook 'python-mode-hook #'electric-operator-mode))
|
(add-hook symbol #'electric-operator-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** [[https://joaotavora.github.io/yasnippet/][Smart snippets]]
|
** [[https://joaotavora.github.io/yasnippet/][Smart snippets]]
|
||||||
@ -6876,11 +6867,11 @@ formatter for Python]].
|
|||||||
(when (ensure-package-installation 'yasnippet)
|
(when (ensure-package-installation 'yasnippet)
|
||||||
;; Set `yas-alias-to-yas/prefix-p' before loading `yasnippet'.
|
;; Set `yas-alias-to-yas/prefix-p' before loading `yasnippet'.
|
||||||
(setopt yas-alias-to-yas/prefix-p nil)
|
(setopt yas-alias-to-yas/prefix-p nil)
|
||||||
(dolist (hook '(LaTeX-mode-hook
|
(dolist (symbol '(LaTeX-mode-hook
|
||||||
org-mode-hook
|
org-mode-hook
|
||||||
python-mode-hook
|
python-mode-hook
|
||||||
python-ts-mode-hook))
|
python-ts-mode-hook))
|
||||||
(add-hook hook #'yas-minor-mode)))
|
(add-hook symbol #'yas-minor-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** [[info:autotype#Tempo][Tempo (info)]] :noexport:
|
** [[info:autotype#Tempo][Tempo (info)]] :noexport:
|
||||||
|
Loading…
Reference in New Issue
Block a user