~ruther/nixos-config

5321addd921468daf0500a403754d758562cb517 — Frantisek Bohacek 1 year, 1 month ago dcf1817
feat: emacs remove laggy modes
M modules/editors/emacs/doom.d/config.el => modules/editors/emacs/doom.d/config.el +5 -0
@@ 252,3 252,8 @@

(add-to-list 'auto-mode-alist '("\\.m$" . matlab-mode))
(setq matlab-shell-command-switches (list "-nodesktop"))

;; topsy doesn't work well for some modes such as vhdl-mode :(
;; (add-hook 'prog-mode-hook #'topsy-mode)

(setq company-idle-delay nil)

M modules/editors/emacs/doom.d/init.el => modules/editors/emacs/doom.d/init.el +12 -12
@@ 32,29 32,29 @@
       doom              ; what makes DOOM look the way it does
       doom-dashboard    ; a nifty splash screen for Emacs
       ;;doom-quit         ; DOOM quit-message prompts when you quit Emacs
       (emoji +unicode)  ; 🙂
       ;; (emoji +unicode)  ; 🙂
       hl-todo           ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
       ;;hydra
       ;;indent-guides     ; highlighted indent columns
       ;;ligatures         ; ligatures and symbols to make your code pretty again
       minimap           ; show a map of the code on the side
       modeline          ; snazzy, Atom-inspired modeline, plus API
       ;; minimap           ; show a map of the code on the side
       (modeline +light)          ; snazzy, Atom-inspired modeline, plus API
       nav-flash         ; blink cursor line after big motions
       ;;neotree           ; a project drawer, like NERDTree for vim
       ophints           ; highlight the region an operation acts on
       (popup +defaults)   ; tame sudden yet inevitable temporary windows
       ;;tabs              ; a tab bar for Emacs
       treemacs          ; a project drawer, like neotree but cooler
       ;;treemacs          ; a project drawer, like neotree but cooler
       ;;unicode           ; extended unicode support for various languages
       (vc-gutter +pretty) ; vcs diff in the fringe
       vi-tilde-fringe   ; fringe tildes to mark beyond EOB
       window-select     ; visually switch windows
       workspaces        ; tab emulation, persistence & separate workspaces
       ;;workspaces        ; tab emulation, persistence & separate workspaces
       ;;zen               ; distraction-free coding or writing

       :editor
       (evil +everywhere); come to the dark side, we have cookies
       file-templates    ; auto-snippets for empty files
       ;;file-templates    ; auto-snippets for empty files
       fold              ; (nigh) universal code folding
       ;;(format +onsave)  ; automated prettiness
       ;;god               ; run Emacs commands without modifier keys


@@ 75,8 75,8 @@

       :term
       ;;eshell            ; the elisp shell that works everywhere
       shell             ; simple shell REPL for Emacs
       term              ; basic terminal emulator for Emacs
       ;;shell             ; simple shell REPL for Emacs
       ;;term              ; basic terminal emulator for Emacs
       vterm             ; the best terminal emulation in Emacs

       :checkers


@@ 95,11 95,11 @@
       (eval +overlay)     ; run code, run (also, repls)
       ;;gist              ; interacting with github gists
       lookup              ; navigate your code and its documentation
       (lsp + peek)               ; M-x vscode
       (lsp +peek)               ; M-x vscode
       magit             ; a git porcelain for Emacs
       make              ; run make tasks from Emacs
       ;;pass              ; password manager for nerds
       ;;pdf               ; pdf enhancements
       pdf               ; pdf enhancements
       ;;prodigy           ; FIXME managing external services & code builders
       ;;rgb               ; creating color strings
       ;;taskrunner        ; taskrunner for all your projects


@@ 110,7 110,7 @@

       :os
       (:if IS-MAC macos)  ; improve compatibility with macOS
       ;;tty               ; improve the terminal Emacs experience
       tty               ; improve the terminal Emacs experience

       :lang
       ;;agda              ; types of types of types of types...


@@ 186,7 186,7 @@
       ;;emms
       ;;everywhere        ; *leave* Emacs!? You must be joking
       ;;irc               ; how neckbeards socialize
       (rss +org)        ; emacs as an RSS reader
       ;;(rss +org)        ; emacs as an RSS reader
       ;;twitter           ; twitter client https://twitter.com/vnought

       :config

M modules/editors/emacs/doom.d/packages.el => modules/editors/emacs/doom.d/packages.el +5 -4
@@ 50,18 50,19 @@
;(unpin! t)

(package! arm-mode :recipe (:host github :repo "charje/arm-mode"))
(package! dumb-jump)
;; (package! dumb-jump)
(package! imenu-list)
;(package! combobulate)
;
(package! vhdl-ext
  :recipe (:host github :repo "gmlarumbe/vhdl-ext"
                 :files (:defaults "snippets" "ts-mode/*.el")))
(package! fancy-narrow)
(package! verilog-ext)

;; (package! fancy-narrow)
(package! topsy)

(package! ein)
(package! ob-ipython)

(package! verilog-ext)

(package! matlab-mode)

Do not follow this link