From 8769246b8bc45d38de4221c321e1a155ef31d652 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 4 Oct 2022 21:12:39 -0400 Subject: [PATCH] feat: Init.el tweaks Turn on tab completion for company, turn vc gutter on, remove multiple cursors, add lispy, add tree-sitter, remove raku, remove kotlin, remove java, remove javascript, add scheme. --- init.el | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/init.el b/init.el index 1316ba8..1befc96 100644 --- a/init.el +++ b/init.el @@ -15,7 +15,7 @@ ;; directory (for easy access to its source code). (doom! :completion - (company +childframe) ; the ultimate code completion backend + (company +childframe +tng) ; the ultimate code completion backend (ivy +fuzzy +precient +childframe +icons) :ui @@ -29,6 +29,7 @@ (popup +defaults) ; tame sudden yet inevitable temporary windows (treemacs +lsp) ; a project drawer, like neotree but cooler unicode ; extended unicode support for various languages + (vc-gutter +diff-hl +pretty) window-select ; visually switch windows workspaces ; tab emulation, persistence & separate workspaces zen ; distraction-free coding or writing @@ -37,7 +38,7 @@ file-templates ; auto-snippets for empty files fold ; (nigh) universal code folding (format +onsave) ; automated prettiness - multiple-cursors ; editing in many places at once + lispy rotate-text ; cycle region at point between text candidates snippets ; my elves. They type so I don't have to word-wrap ; soft wrapping with language-aware indent @@ -67,27 +68,25 @@ (magit +forge) ; a git porcelain for Emacs pdf ; pdf enhancements rgb ; creating color strings + tree-sitter :os (:if IS-MAC macos) ; improve compatibility with macOS (tty +osc) :lang - data ; config/data formats - emacs-lisp ; drown in parentheses - json ; At least it ain't XML - (latex +fold) ; writing papers in Emacs has never been so fun - markdown ; writing docs for people to ignore - nix ; I hereby declare "nix geht mehr!" - (org +pandoc +present +roam2 +pomodoro) ; organize your plain life in plain text - raku ; the artist formerly known as perl6 + data + emacs-lisp + json + (latex +fold) + markdown + nix + (org +pandoc +present +roam2 +pomodoro) rest ; Emacs as a REST client (rust +lsp) - (sh +fish) ; she sells {ba,z,fi}sh shells on the C xor - yaml ; JSON, but readable - (kotlin +lsp) - (java +lsp +meghanada) - (javascript +lsp) + (sh +fish) + yaml + (scheme +chez) :email (mu4e +org) @@ -98,5 +97,3 @@ :config literate (default +bindings +smartparens)) - -(add-hook! 'emacs-startup-hook #'doom-init-ui-h)