Add more avy moving stuff

This commit is contained in:
Maciej 2021-08-31 21:56:06 +03:00
parent 2bd997af29
commit 1a385886f4
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
5 changed files with 26 additions and 3 deletions

View file

@ -12,6 +12,15 @@
:config (setq
deft-directory (substitute-in-file-name "$HOME/OneDrive/deft")
deft-default-extension "md"
deft-strip-summary-regexp (concat "\\("
"[\n\t]" ;; blank
"\\|^:[[:ascii:]]+:.*$" ;; org-mode properties string
"\\|^Title:.*$" ;; Title string
"\\|^title:.*$" ;; title string
"\\|^\\[\\[file:.*$" ;; org-mode inline-images
;; org-mode properties
;; "\\|:PROPERTIES:\n\\(.+\n\\)+:END:\n" ;;
"\\)")
deft-auto-save-interval 30.0))
(defhydra +hydra-deft-menu (:color teal)

View file

@ -43,7 +43,8 @@
(+custom-set-lsp-ui-font-hook))
;; (defvar +custom-font "Iosevka Term")
(defvar +custom-font "JetBrains Mono")
;; (defvar +custom-font "JetBrains Mono")
(defvar +custom-font "JuliaMono")
;; (defvar +custom-font "IBM Plex Mono")
(defvar +custom-font-size 14)

View file

@ -129,11 +129,18 @@ Other: _m_: iMenu
^_[_: Left _]_: Right
^ _{_: Down
^^
^ Move to
^^^^^^^^--------------------------------------------------------------------------------------------
^_w_: Word _c_: Character _l_: Line
^^
"
("[" buf-move-left)
("]" buf-move-right)
("{" buf-move-up)
("}" buf-move-down)
("w" avy-goto-word-0)
("l" avy-goto-line)
("c" avy-goto-char)
("q" cancel "quit"))
(defhydra +hydra-font-menu (:color teal)