Updating to match current doom configuration sample
This commit is contained in:
		
							parent
							
								
									7ca3d54b4a
								
							
						
					
					
						commit
						52104c362d
					
				| 
						 | 
					@ -1,12 +1,18 @@
 | 
				
			||||||
;;; init.el -*- lexical-binding: t; -*-
 | 
					;;; init.el -*- lexical-binding: t; -*-
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Copy this file to ~/.doom.d/init.el or ~/.config/doom/init.el ('doom install'
 | 
					;; This file controls what Doom modules are enabled and what order they load in.
 | 
				
			||||||
;; will do this for you). The `doom!' block below controls what modules are
 | 
					;; Remember to run 'doom sync' after modifying it!
 | 
				
			||||||
;; enabled and in what order they will be loaded. Remember to run 'doom refresh'
 | 
					
 | 
				
			||||||
;; after modifying it.
 | 
					;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
 | 
				
			||||||
 | 
					;;      documentation. There you'll find information about all of Doom's modules
 | 
				
			||||||
 | 
					;;      and what flags they support.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
 | 
				
			||||||
 | 
					;;      'C-c g k' for non-vim users) to view its documentation. This works on
 | 
				
			||||||
 | 
					;;      flags as well (those symbols that start with a plus).
 | 
				
			||||||
;;
 | 
					;;
 | 
				
			||||||
;; More information about these modules (and what flags they support) can be
 | 
					;;      Alternatively, press 'gd' (or 'C-c g d') on a module to browse its
 | 
				
			||||||
;; found in modules/README.org.
 | 
					;;      directory (for easy access to its source code).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(doom! :input
 | 
					(doom! :input
 | 
				
			||||||
       ;;chinese
 | 
					       ;;chinese
 | 
				
			||||||
| 
						 | 
					@ -14,55 +20,58 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       :completion
 | 
					       :completion
 | 
				
			||||||
       (company            ; the ultimate code completion backend.
 | 
					       (company            ; the ultimate code completion backend.
 | 
				
			||||||
         +childframe)       ; Use company-box.
 | 
					         +childframe)      ; Use company-box.
 | 
				
			||||||
       (helm               ; because sometimes I prefer what I know.
 | 
					       ;;(helm             ; because sometimes I prefer what I know.
 | 
				
			||||||
        +fuzzy)            ; woh typse aynthing write teh first time.
 | 
					       ;; +fuzzy)          ; woh typse aynthing write teh first time.
 | 
				
			||||||
       ;;ido               ; the other *other* search engine...
 | 
					       ;;ido               ; the other *other* search engine...
 | 
				
			||||||
       ;;(ivy              ; a search engine for love and life
 | 
					       (ivy +fuzzy)      ; a search engine for love and life
 | 
				
			||||||
       ;; +fuzzy)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
       :ui
 | 
					       :ui
 | 
				
			||||||
       deft                ; notational velocity for Emacs
 | 
					       deft              ; notational velocity for Emacs
 | 
				
			||||||
       doom                ; what makes DOOM look the way it does
 | 
					       doom              ; what makes DOOM look the way it does
 | 
				
			||||||
       doom-dashboard      ; a nifty splash screen for Emacs
 | 
					       doom-dashboard    ; a nifty splash screen for Emaclints
 | 
				
			||||||
       doom-quit           ; DOOM quit-message prompts when you quit Emacs
 | 
					       doom-quit         ; DOOM quit-message prompts when you quit Emacs
 | 
				
			||||||
       fill-column         ; a `fill-column' indicator
 | 
					       fill-column       ; a `fill-column' indicator
 | 
				
			||||||
       hl-todo             ; highlight TODO/FIXME/NOTE tags
 | 
					       hl-todo           ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
 | 
				
			||||||
 | 
					       ;;hydra
 | 
				
			||||||
       ;;indent-guides     ; highlighted indent columns
 | 
					       ;;indent-guides     ; highlighted indent columns
 | 
				
			||||||
       modeline            ; snazzy, Atom-inspired modeline, plus API
 | 
					       modeline          ; snazzy, Atom-inspired modeline, plus API
 | 
				
			||||||
       nav-flash           ; blink the current line after jumping
 | 
					       nav-flash         ; blink the current line after jumping
 | 
				
			||||||
       ;;neotree           ; a project drawer, like NERDTree for vim
 | 
					       ;;neotree           ; a project drawer, like NERDTree for vim
 | 
				
			||||||
       ophints             ; highlight the region an operation acts on
 | 
					       ophints           ; highlight the region an operation acts on
 | 
				
			||||||
       (popup              ; tame sudden yet inevitable temporary windows
 | 
					       (popup            ; tame sudden yet inevitable temporary windows
 | 
				
			||||||
         +all              ; catch all popups that start with an asterix
 | 
					        +all             ; catch all popups that start with an asterix
 | 
				
			||||||
         +defaults)        ; default popup rules
 | 
					        +defaults)       ; default popup rules
 | 
				
			||||||
       (pretty-code        ; replace bits of code with pretty symbols
 | 
					       ;;pretty-code       ; replace bits of code with pretty symbols
 | 
				
			||||||
        +fira)             ; I use firaCode or FiraCode derivatives everywhere, all the time.
 | 
					       ;;tabs              ; an tab bar for Emacs
 | 
				
			||||||
       ;;tabbar            ; FIXME an (incomplete) 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
 | 
					       ;;unicode           ; extended unicode support for various languages
 | 
				
			||||||
       vc-gutter           ; vcs diff in the fringe
 | 
					       vc-gutter         ; vcs diff in the fringe
 | 
				
			||||||
       vi-tilde-fringe     ; fringe tildes to mark beyond EOB
 | 
					       vi-tilde-fringe   ; fringe tildes to mark beyond EOB
 | 
				
			||||||
       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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       :editor
 | 
					       :editor
 | 
				
			||||||
       (evil +everywhere)  ; come to the dark side, we have cookies
 | 
					       (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
 | 
					       fold              ; (nigh) universal code folding
 | 
				
			||||||
       (format +onsave)    ; automated prettiness
 | 
					       ;;(format +onsave)  ; automated prettiness
 | 
				
			||||||
       ;;lispy             ; vim for lisp, for people who dont like vim
 | 
					       ;;god               ; run Emacs commands without modifier keys
 | 
				
			||||||
       multiple-cursors    ; editing in many places at once
 | 
					       ;;lispy             ; vim for lisp, for people who don't like vim
 | 
				
			||||||
 | 
					       multiple-cursors  ; editing in many places at once
 | 
				
			||||||
       ;;objed             ; text object editing for the innocent
 | 
					       ;;objed             ; text object editing for the innocent
 | 
				
			||||||
       ;;parinfer          ; turn lisp into python, sort of
 | 
					       ;;parinfer          ; turn lisp into python, sort of
 | 
				
			||||||
       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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       :emacs
 | 
					       :emacs
 | 
				
			||||||
       (dired              ; making dired pretty [functional]
 | 
					       (dired              ; making dired pretty [functional]
 | 
				
			||||||
         +ranger           ; bringing the goodness of ranger to dired
 | 
					         +ranger           ; bringing the goodness of ranger to dired
 | 
				
			||||||
         +icons)           ; colorful icons for dired-mode
 | 
					         +icons)           ; colorful icons for dired-mode
 | 
				
			||||||
       electric            ; smarter, keyword-based electric-indent
 | 
					       electric            ; smarter, keyword-based electric-indent
 | 
				
			||||||
 | 
					       ibuffer           ; interactive buffer management
 | 
				
			||||||
       vc                  ; version-control and Emacs, sitting in a tree
 | 
					       vc                  ; version-control and Emacs, sitting in a tree
 | 
				
			||||||
 | 
					
 | 
				
			||||||
       :term
 | 
					       :term
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user