diff --git a/init.el b/init.el index 7705371..bd96723 100644 --- a/init.el +++ b/init.el @@ -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)))) diff --git a/lang/elixir.el b/lang/elixir.el index 86adc9f..5a52ded 100644 --- a/lang/elixir.el +++ b/lang/elixir.el @@ -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 "") 'elixir-format) ;; If needed, switch the one below to false to disable documentation pop-ups diff --git a/pkg/deft.el b/pkg/deft.el index 03e27ff..0356724 100644 --- a/pkg/deft.el +++ b/pkg/deft.el @@ -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) diff --git a/pkg/fonts.el b/pkg/fonts.el index 4637fd7..88752ca 100644 --- a/pkg/fonts.el +++ b/pkg/fonts.el @@ -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) diff --git a/pkg/hydra.el b/pkg/hydra.el index 010580e..68f5d91 100644 --- a/pkg/hydra.el +++ b/pkg/hydra.el @@ -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)