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.
This commit is contained in:
Nathan McCarty 2022-10-04 21:12:39 -04:00
parent ef5031c402
commit 8769246b8b
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
1 changed files with 14 additions and 17 deletions

31
init.el
View File

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