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

@ -82,7 +82,13 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(safe-local-variable-values
'((column-enforce-column . 10000)
'((cider-shadow-default-options . ":app")
(cider-preferred-build-tool . lein)
(cider-shadow-default-options . "app")
(cider-default-cljs-repl . shadow)
(cider-preferred-build tool . lein)
(cider-repl-display-help-banner)
(column-enforce-column . 10000)
(haskell-process-use-ghci . t)
(haskell-indent-spaces . 4))))
@ -93,7 +99,6 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(font-lock-constant-face ((((type graphic)) (:foreground "#dfaf8f")) (((min-colors 256)) (:foreground "brightred")) (t (:foreground "brightred"))))
;; '(font-lock-type-face ((t (:foreground "#ffcb6b" :family "JetBrains Mono"))))
'(markdown-code-face ((t (:inherit fixed-pitch :family "IBM Plex Mono"))))
'(mmm-default-submode-face ((t nil))))

View file

@ -32,6 +32,7 @@ Other: _m_: iMenu
(lsp)
(setq-local flycheck-check-syntax-automatically '(save mode-enabled))
(setq-local lsp-eldoc-enable-hover nil)
(setq-local company-minimum-prefix-length 3)
(define-key elixir-mode-map (kbd "<f17>") 'elixir-format)
;; If needed, switch the one below to false to disable documentation pop-ups

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)