Add more avy moving stuff
This commit is contained in:
parent
2bd997af29
commit
1a385886f4
5 changed files with 26 additions and 3 deletions
9
init.el
9
init.el
|
|
@ -82,7 +82,13 @@
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(safe-local-variable-values
|
'(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-process-use-ghci . t)
|
||||||
(haskell-indent-spaces . 4))))
|
(haskell-indent-spaces . 4))))
|
||||||
|
|
||||||
|
|
@ -93,7 +99,6 @@
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; 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-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"))))
|
'(markdown-code-face ((t (:inherit fixed-pitch :family "IBM Plex Mono"))))
|
||||||
'(mmm-default-submode-face ((t nil))))
|
'(mmm-default-submode-face ((t nil))))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ Other: _m_: iMenu
|
||||||
(lsp)
|
(lsp)
|
||||||
(setq-local flycheck-check-syntax-automatically '(save mode-enabled))
|
(setq-local flycheck-check-syntax-automatically '(save mode-enabled))
|
||||||
(setq-local lsp-eldoc-enable-hover nil)
|
(setq-local lsp-eldoc-enable-hover nil)
|
||||||
|
(setq-local company-minimum-prefix-length 3)
|
||||||
(define-key elixir-mode-map (kbd "<f17>") 'elixir-format)
|
(define-key elixir-mode-map (kbd "<f17>") 'elixir-format)
|
||||||
|
|
||||||
;; If needed, switch the one below to false to disable documentation pop-ups
|
;; If needed, switch the one below to false to disable documentation pop-ups
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,15 @@
|
||||||
:config (setq
|
:config (setq
|
||||||
deft-directory (substitute-in-file-name "$HOME/OneDrive/deft")
|
deft-directory (substitute-in-file-name "$HOME/OneDrive/deft")
|
||||||
deft-default-extension "md"
|
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))
|
deft-auto-save-interval 30.0))
|
||||||
|
|
||||||
(defhydra +hydra-deft-menu (:color teal)
|
(defhydra +hydra-deft-menu (:color teal)
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,8 @@
|
||||||
(+custom-set-lsp-ui-font-hook))
|
(+custom-set-lsp-ui-font-hook))
|
||||||
|
|
||||||
;; (defvar +custom-font "Iosevka Term")
|
;; (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 "IBM Plex Mono")
|
||||||
(defvar +custom-font-size 14)
|
(defvar +custom-font-size 14)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -129,11 +129,18 @@ Other: _m_: iMenu
|
||||||
^_[_: Left _]_: Right
|
^_[_: Left _]_: Right
|
||||||
^ _{_: Down
|
^ _{_: Down
|
||||||
^^
|
^^
|
||||||
|
^ Move to
|
||||||
|
^^^^^^^^--------------------------------------------------------------------------------------------
|
||||||
|
^_w_: Word _c_: Character _l_: Line
|
||||||
|
^^
|
||||||
"
|
"
|
||||||
("[" buf-move-left)
|
("[" buf-move-left)
|
||||||
("]" buf-move-right)
|
("]" buf-move-right)
|
||||||
("{" buf-move-up)
|
("{" buf-move-up)
|
||||||
("}" buf-move-down)
|
("}" buf-move-down)
|
||||||
|
("w" avy-goto-word-0)
|
||||||
|
("l" avy-goto-line)
|
||||||
|
("c" avy-goto-char)
|
||||||
("q" cancel "quit"))
|
("q" cancel "quit"))
|
||||||
|
|
||||||
(defhydra +hydra-font-menu (:color teal)
|
(defhydra +hydra-font-menu (:color teal)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue