My Emacs Config

Hex Artifact Content
Login

Artifact 5e6edf59888509329d89ad121447e9d967615f99960539c4865f5766210328fe:


0000: 28 73 65 72 76 65 72 2d 73 74 61 72 74 29 0a 0a  (server-start)..
0010: 28 72 65 71 75 69 72 65 20 27 63 6c 29 0a 0a 3b  (require 'cl)..;
0020: 3b 20 55 73 65 72 20 64 65 74 61 69 6c 73 0a 28  ; User details.(
0030: 73 65 74 71 20 75 73 65 72 2d 66 75 6c 6c 2d 6e  setq user-full-n
0040: 61 6d 65 20 22 49 76 c3 a1 6e 20 c3 81 76 61 6c  ame "Iv..n ..val
0050: 6f 73 22 29 0a 28 73 65 74 71 20 75 73 65 72 2d  os").(setq user-
0060: 6d 61 69 6c 2d 61 64 64 72 65 73 73 20 22 69 76  mail-address "iv
0070: 61 6e 2e 61 76 61 6c 6f 73 2e 64 69 61 7a 40 68  an.avalos.diaz@h
0080: 6f 74 6d 61 69 6c 2e 63 6f 6d 22 29 0a 0a 3b 3b  otmail.com")..;;
0090: 20 53 74 61 72 74 75 70 0a 28 6d 6f 64 69 66 79   Startup.(modify
00a0: 2d 66 72 61 6d 65 2d 70 61 72 61 6d 65 74 65 72  -frame-parameter
00b0: 73 0a 20 6e 69 6c 20 27 28 28 75 73 65 72 2d 70  s. nil '((user-p
00c0: 6f 73 69 74 69 6f 6e 20 2e 20 74 29 20 28 6c 65  osition . t) (le
00d0: 66 74 20 2e 20 32 34 30 29 29 29 0a 28 61 64 64  ft . 240))).(add
00e0: 2d 74 6f 2d 6c 69 73 74 20 27 64 65 66 61 75 6c  -to-list 'defaul
00f0: 74 2d 66 72 61 6d 65 2d 61 6c 69 73 74 20 27 28  t-frame-alist '(
0100: 68 65 69 67 68 74 20 2e 20 35 31 29 29 0a 28 61  height . 51)).(a
0110: 64 64 2d 74 6f 2d 6c 69 73 74 20 27 64 65 66 61  dd-to-list 'defa
0120: 75 6c 74 2d 66 72 61 6d 65 2d 61 6c 69 73 74 20  ult-frame-alist 
0130: 27 28 77 69 64 74 68 20 2e 20 31 33 32 29 29 0a  '(width . 132)).
0140: 28 74 6f 6f 6c 2d 62 61 72 2d 6d 6f 64 65 20 2d  (tool-bar-mode -
0150: 31 29 0a 28 73 63 72 6f 6c 6c 2d 62 61 72 2d 6d  1).(scroll-bar-m
0160: 6f 64 65 20 2d 31 29 0a 28 73 65 74 71 20 64 65  ode -1).(setq de
0170: 66 61 75 6c 74 2d 64 69 72 65 63 74 6f 72 79 20  fault-directory 
0180: 22 7e 2f 22 29 0a 0a 28 64 65 66 76 61 72 20 61  "~/")..(defvar a
0190: 76 61 6c 6f 73 2f 76 65 6e 64 6f 72 2d 64 69 72  valos/vendor-dir
01a0: 20 28 65 78 70 61 6e 64 2d 66 69 6c 65 2d 6e 61   (expand-file-na
01b0: 6d 65 20 22 76 65 6e 64 6f 72 22 20 75 73 65 72  me "vendor" user
01c0: 2d 65 6d 61 63 73 2d 64 69 72 65 63 74 6f 72 79  -emacs-directory
01d0: 29 29 0a 28 64 65 66 75 6e 20 6c 6f 61 64 2d 64  )).(defun load-d
01e0: 69 72 65 63 74 6f 72 79 20 28 64 69 72 29 20 22  irectory (dir) "
01f0: 4c 6f 61 64 20 65 4c 69 73 70 20 66 69 6c 65 73  Load eLisp files
0200: 20 6f 6e 20 44 49 52 2e 22 0a 20 20 20 20 20 20   on DIR.".      
0210: 20 28 6c 65 74 20 28 28 6c 6f 61 64 2d 69 74 20   (let ((load-it 
0220: 28 6c 61 6d 62 64 61 20 28 66 29 0a 20 20 20 20  (lambda (f).    
0230: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0240: 20 20 20 20 28 6c 6f 61 64 2d 66 69 6c 65 20 28      (load-file (
0250: 63 6f 6e 63 61 74 20 28 66 69 6c 65 2d 6e 61 6d  concat (file-nam
0260: 65 2d 61 73 2d 64 69 72 65 63 74 6f 72 79 20 64  e-as-directory d
0270: 69 72 29 20 66 29 29 29 29 29 0a 20 20 20 20 20  ir) f))))).     
0280: 20 20 20 20 28 6d 61 70 63 20 6c 6f 61 64 2d 69      (mapc load-i
0290: 74 20 28 64 69 72 65 63 74 6f 72 79 2d 66 69 6c  t (directory-fil
02a0: 65 73 20 64 69 72 20 6e 69 6c 20 22 5c 5c 2e 65  es dir nil "\\.e
02b0: 6c 24 22 29 29 29 29 0a 28 6c 6f 61 64 2d 64 69  l$")))).(load-di
02c0: 72 65 63 74 6f 72 79 20 61 76 61 6c 6f 73 2f 76  rectory avalos/v
02d0: 65 6e 64 6f 72 2d 64 69 72 29 0a 0a 3b 3b 20 50  endor-dir)..;; P
02e0: 61 63 6b 61 67 65 20 4d 61 6e 61 67 65 6d 65 6e  ackage Managemen
02f0: 74 0a 28 6c 6f 61 64 20 22 70 61 63 6b 61 67 65  t.(load "package
0300: 22 29 0a 28 70 61 63 6b 61 67 65 2d 69 6e 69 74  ").(package-init
0310: 69 61 6c 69 7a 65 29 0a 28 61 64 64 2d 74 6f 2d  ialize).(add-to-
0320: 6c 69 73 74 20 27 70 61 63 6b 61 67 65 2d 61 72  list 'package-ar
0330: 63 68 69 76 65 73 0a 20 20 20 20 20 20 20 20 20  chives.         
0340: 20 20 20 20 27 28 22 6d 65 6c 70 61 2d 73 74 61      '("melpa-sta
0350: 62 6c 65 22 20 2e 20 22 68 74 74 70 73 3a 2f 2f  ble" . "https://
0360: 73 74 61 62 6c 65 2e 6d 65 6c 70 61 2e 6f 72 67  stable.melpa.org
0370: 2f 70 61 63 6b 61 67 65 73 2f 22 29 20 74 29 0a  /packages/") t).
0380: 28 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 70 61  (add-to-list 'pa
0390: 63 6b 61 67 65 2d 61 72 63 68 69 76 65 73 0a 09  ckage-archives..
03a0: 20 20 20 20 20 20 20 20 20 27 28 22 6d 65 6c 70           '("melp
03b0: 61 22 20 2e 20 22 68 74 74 70 73 3a 2f 2f 6d 65  a" . "https://me
03c0: 6c 70 61 2e 6f 72 67 2f 70 61 63 6b 61 67 65 73  lpa.org/packages
03d0: 2f 22 29 20 74 29 0a 28 61 64 64 2d 74 6f 2d 6c  /") t).(add-to-l
03e0: 69 73 74 20 27 70 61 63 6b 61 67 65 2d 61 72 63  ist 'package-arc
03f0: 68 69 76 65 73 0a 20 20 20 20 20 20 20 20 20 20  hives.          
0400: 20 20 20 27 28 22 6d 65 6c 70 61 22 20 2e 20 22     '("melpa" . "
0410: 68 74 74 70 3a 2f 2f 6d 65 6c 70 61 2e 6d 69 6c  http://melpa.mil
0420: 6b 62 6f 78 2e 6e 65 74 2f 70 61 63 6b 61 67 65  kbox.net/package
0430: 73 2f 22 29 20 74 29 0a 28 64 65 66 76 61 72 20  s/") t).(defvar 
0440: 61 76 61 6c 6f 73 2f 70 61 63 6b 61 67 65 73 20  avalos/packages 
0450: 27 28 6d 61 72 6b 64 6f 77 6e 2d 6d 6f 64 65 0a  '(markdown-mode.
0460: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0470: 20 20 20 20 20 20 20 20 20 20 65 6d 6d 65 74 2d            emmet-
0480: 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20 20  mode.           
0490: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 6f                 o
04a0: 72 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20  rg.             
04b0: 20 20 20 20 20 20 20 20 20 20 20 20 20 77 65 62               web
04c0: 2d 6d 6f 64 65 0a 20 20 20 20 20 20 20 20 20 20  -mode.          
04d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
04e0: 79 61 6d 6c 2d 6d 6f 64 65 0a 20 20 20 20 20 20  yaml-mode.      
04f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0500: 20 20 20 20 67 6f 2d 6d 6f 64 65 0a 20 20 20 20      go-mode.    
0510: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0520: 20 20 20 20 20 20 66 6c 79 63 68 65 63 6b 0a 20        flycheck. 
0530: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0540: 20 20 20 20 20 20 20 20 20 63 6f 6d 70 61 6e 79           company
0550: 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  .               
0560: 20 20 20 20 20 20 20 20 20 20 20 63 6f 6d 70 61             compa
0570: 6e 79 2d 67 6f 0a 20 20 20 20 20 20 20 20 20 20  ny-go.          
0580: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0590: 63 6f 6d 70 61 6e 79 2d 69 72 6f 6e 79 0a 20 20  company-irony.  
05a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
05b0: 20 20 20 20 20 20 20 20 6c 73 70 2d 6d 6f 64 65          lsp-mode
05c0: 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  .               
05d0: 20 20 20 20 20 20 20 20 20 20 20 6c 73 70 2d 75             lsp-u
05e0: 69 0a 09 09 09 20 20 20 20 20 20 20 20 20 20 20  i....           
05f0: 20 20 20 75 73 65 2d 70 61 63 6b 61 67 65 0a 20     use-package. 
0600: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0610: 20 20 20 20 20 20 20 20 20 61 75 74 6f 2d 70 61           auto-pa
0620: 63 6b 61 67 65 2d 75 70 64 61 74 65 0a 20 20 20  ckage-update.   
0630: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0640: 20 20 20 20 20 20 20 70 72 6f 6a 65 63 74 69 6c         projectil
0650: 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20  e.              
0660: 20 20 20 20 20 20 20 20 20 20 20 20 6d 61 67 69              magi
0670: 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20  t.              
0680: 20 20 20 20 20 20 20 20 20 20 20 20 70 6c 61 74              plat
0690: 66 6f 72 6d 69 6f 2d 6d 6f 64 65 0a 20 20 20 20  formio-mode.    
06a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
06b0: 20 20 20 20 20 20 69 72 6f 6e 79 0a 20 20 20 20        irony.    
06c0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
06d0: 20 20 20 20 20 20 69 72 6f 6e 79 2d 65 6c 64 6f        irony-eldo
06e0: 63 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20  c.              
06f0: 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 79 63              flyc
0700: 68 65 63 6b 2d 69 72 6f 6e 79 0a 20 20 20 20 20  heck-irony.     
0710: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0720: 20 20 20 20 20 67 65 69 73 65 72 0a 20 20 20 20       geiser.    
0730: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0740: 20 20 20 20 20 20 64 61 72 74 2d 6d 6f 64 65 0a        dart-mode.
0750: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0760: 20 20 20 20 20 20 20 20 20 20 6c 73 70 2d 64 61            lsp-da
0770: 72 74 0a 20 20 20 20 20 20 20 20 20 20 20 20 20  rt.             
0780: 20 20 20 20 20 20 20 20 20 20 20 20 20 66 6c 75               flu
0790: 74 74 65 72 0a 20 20 20 20 20 20 20 20 20 20 20  tter.           
07a0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 66                 f
07b0: 6c 75 74 74 65 72 2d 6c 31 30 6e 2d 66 6c 79 63  lutter-l10n-flyc
07c0: 68 65 63 6b 0a 20 20 20 20 20 20 20 20 20 20 20  heck.           
07d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 73                 s
07e0: 6d 61 72 74 70 61 72 65 6e 73 0a 20 20 20 20 20  martparens.     
07f0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0800: 20 20 20 20 20 79 61 73 6e 69 70 70 65 74 2d 73       yasnippet-s
0810: 6e 69 70 70 65 74 73 0a 20 20 20 20 20 20 20 20  nippets.        
0820: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0830: 20 20 70 61 73 73 77 6f 72 64 2d 73 74 6f 72 65    password-store
0840: 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  .               
0850: 20 20 20 20 20 20 20 20 20 20 20 77 68 69 63 68             which
0860: 2d 6b 65 79 0a 20 20 20 20 20 20 20 20 20 20 20  -key.           
0870: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 76                 v
0880: 63 2d 66 6f 73 73 69 6c 0a 20 20 20 20 20 20 20  c-fossil.       
0890: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
08a0: 20 20 20 73 75 62 6c 69 6d 65 2d 74 68 65 6d 65     sublime-theme
08b0: 73 29 0a 20 20 22 44 65 66 61 75 6c 74 20 70 61  s).  "Default pa
08c0: 63 6b 61 67 65 73 2e 22 29 0a 0a 28 64 65 66 75  ckages.")..(defu
08d0: 6e 20 61 76 61 6c 6f 73 2f 70 61 63 6b 61 67 65  n avalos/package
08e0: 73 2d 69 6e 73 74 61 6c 6c 65 64 2d 70 20 28 29  s-installed-p ()
08f0: 0a 20 20 22 49 6e 73 74 61 6c 6c 20 6c 69 73 74  .  "Install list
0900: 65 64 20 70 61 63 6b 61 67 65 73 20 69 66 20 6e  ed packages if n
0910: 6f 74 20 69 6e 73 74 61 6c 6c 65 64 2e 22 0a 20  ot installed.". 
0920: 20 28 6c 6f 6f 70 20 66 6f 72 20 70 6b 67 20 69   (loop for pkg i
0930: 6e 20 61 76 61 6c 6f 73 2f 70 61 63 6b 61 67 65  n avalos/package
0940: 73 0a 20 20 20 20 20 20 20 20 77 68 65 6e 20 28  s.        when (
0950: 6e 6f 74 20 28 70 61 63 6b 61 67 65 2d 69 6e 73  not (package-ins
0960: 74 61 6c 6c 65 64 2d 70 20 70 6b 67 29 29 20 64  talled-p pkg)) d
0970: 6f 20 28 72 65 74 75 72 6e 20 6e 69 6c 29 0a 20  o (return nil). 
0980: 20 20 20 20 20 20 20 66 69 6e 61 6c 6c 79 20 28         finally (
0990: 72 65 74 75 72 6e 20 74 29 29 29 0a 0a 28 75 6e  return t)))..(un
09a0: 6c 65 73 73 20 28 61 76 61 6c 6f 73 2f 70 61 63  less (avalos/pac
09b0: 6b 61 67 65 73 2d 69 6e 73 74 61 6c 6c 65 64 2d  kages-installed-
09c0: 70 29 0a 20 20 28 6d 65 73 73 61 67 65 20 22 25  p).  (message "%
09d0: 73 22 20 22 52 65 66 72 65 73 68 69 6e 67 20 70  s" "Refreshing p
09e0: 61 63 6b 61 67 65 20 64 61 74 61 62 61 73 65 2e  ackage database.
09f0: 2e 2e 22 29 0a 20 20 28 70 61 63 6b 61 67 65 2d  ..").  (package-
0a00: 72 65 66 72 65 73 68 2d 63 6f 6e 74 65 6e 74 73  refresh-contents
0a10: 29 0a 20 20 28 64 6f 6c 69 73 74 20 28 70 6b 67  ).  (dolist (pkg
0a20: 20 61 76 61 6c 6f 73 2f 70 61 63 6b 61 67 65 73   avalos/packages
0a30: 29 0a 20 20 20 20 28 77 68 65 6e 20 28 6e 6f 74  ).    (when (not
0a40: 20 28 70 61 63 6b 61 67 65 2d 69 6e 73 74 61 6c   (package-instal
0a50: 6c 65 64 2d 70 20 70 6b 67 29 29 0a 20 20 20 20  led-p pkg)).    
0a60: 20 20 28 70 61 63 6b 61 67 65 2d 69 6e 73 74 61    (package-insta
0a70: 6c 6c 20 70 6b 67 29 29 29 29 0a 0a 28 75 73 65  ll pkg))))..(use
0a80: 2d 70 61 63 6b 61 67 65 20 61 75 74 6f 2d 70 61  -package auto-pa
0a90: 63 6b 61 67 65 2d 75 70 64 61 74 65 0a 20 20 3a  ckage-update.  :
0aa0: 63 6f 6e 66 69 67 0a 20 20 28 73 65 74 71 20 61  config.  (setq a
0ab0: 75 74 6f 2d 70 61 63 6b 61 67 65 2d 75 70 64 61  uto-package-upda
0ac0: 74 65 2d 64 65 6c 65 74 65 2d 6f 6c 64 2d 76 65  te-delete-old-ve
0ad0: 72 73 69 6f 6e 73 20 74 29 0a 20 20 28 73 65 74  rsions t).  (set
0ae0: 71 20 61 75 74 6f 2d 70 61 63 6b 61 67 65 2d 75  q auto-package-u
0af0: 70 64 61 74 65 2d 68 69 64 65 2d 72 65 73 75 6c  pdate-hide-resul
0b00: 74 73 20 74 29 0a 20 20 28 61 75 74 6f 2d 70 61  ts t).  (auto-pa
0b10: 63 6b 61 67 65 2d 75 70 64 61 74 65 2d 6d 61 79  ckage-update-may
0b20: 62 65 29 29 0a 0a 3b 3b 20 4c 6f 61 64 20 65 6e  be))..;; Load en
0b30: 76 69 72 6f 6e 6d 65 6e 74 20 76 61 72 69 61 62  vironment variab
0b40: 6c 65 73 0a 28 73 65 74 65 6e 76 20 22 47 4f 50  les.(setenv "GOP
0b50: 41 54 48 22 20 22 2f 55 73 65 72 73 2f 61 76 61  ATH" "/Users/ava
0b60: 6c 6f 73 2f 67 6f 22 29 0a 28 73 65 74 65 6e 76  los/go").(setenv
0b70: 20 22 50 41 54 48 22 20 28 63 6f 6e 63 61 74 0a   "PATH" (concat.
0b80: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0b90: 22 2f 75 73 72 2f 6c 6f 63 61 6c 2f 62 69 6e 22  "/usr/local/bin"
0ba0: 20 22 3a 22 0a 20 20 20 20 20 20 20 20 20 20 20   ":".           
0bb0: 20 20 20 20 20 22 2f 55 73 65 72 73 2f 61 76 61       "/Users/ava
0bc0: 6c 6f 73 2f 67 6f 2f 62 69 6e 22 20 22 3a 22 0a  los/go/bin" ":".
0bd0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0be0: 22 2f 4c 69 62 72 61 72 79 2f 54 65 58 2f 74 65  "/Library/TeX/te
0bf0: 78 62 69 6e 22 20 22 3a 22 0a 20 20 20 20 20 20  xbin" ":".      
0c00: 20 20 20 20 20 20 20 20 20 20 28 67 65 74 65 6e            (geten
0c10: 76 20 22 50 41 54 48 22 29 29 29 0a 28 73 65 74  v "PATH"))).(set
0c20: 71 20 65 78 65 63 2d 70 61 74 68 20 28 61 70 70  q exec-path (app
0c30: 65 6e 64 20 65 78 65 63 2d 70 61 74 68 0a 20 20  end exec-path.  
0c40: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0c50: 20 20 20 20 20 20 27 28 22 2f 75 73 72 2f 62 69        '("/usr/bi
0c60: 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20  n".             
0c70: 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2f 75               "/u
0c80: 73 72 2f 6c 6f 63 61 6c 2f 62 69 6e 22 0a 20 20  sr/local/bin".  
0c90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0ca0: 20 20 20 20 20 20 20 20 22 2f 55 73 65 72 73 2f          "/Users/
0cb0: 61 76 61 6c 6f 73 2f 66 6c 75 74 74 65 72 2f 62  avalos/flutter/b
0cc0: 69 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20  in".            
0cd0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2f                "/
0ce0: 55 73 65 72 73 2f 61 76 61 6c 6f 73 2f 2e 63 61  Users/avalos/.ca
0cf0: 72 67 6f 2f 62 69 6e 22 0a 20 20 20 20 20 20 20  rgo/bin".       
0d00: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0d10: 20 20 20 22 2f 55 73 65 72 73 2f 61 76 61 6c 6f     "/Users/avalo
0d20: 73 2f 66 6c 75 74 74 65 72 2f 62 69 6e 2f 63 61  s/flutter/bin/ca
0d30: 63 68 65 2f 64 61 72 74 2d 73 64 6b 2f 62 69 6e  che/dart-sdk/bin
0d40: 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20  ".              
0d50: 20 20 20 20 20 20 20 20 20 20 20 20 22 2f 55 73              "/Us
0d60: 65 72 73 2f 61 76 61 6c 6f 73 2f 67 6f 2f 62 69  ers/avalos/go/bi
0d70: 6e 22 0a 20 20 20 20 20 20 20 20 20 20 20 20 20  n".             
0d80: 20 20 20 20 20 20 20 20 20 20 20 20 20 22 2f 55               "/U
0d90: 73 65 72 73 2f 61 76 61 6c 6f 73 2f 67 6f 22 0a  sers/avalos/go".
0da0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
0db0: 20 20 20 20 20 20 20 20 20 20 22 2f 4c 69 62 72            "/Libr
0dc0: 61 72 79 2f 54 65 58 2f 74 65 78 62 69 6e 22 29  ary/TeX/texbin")
0dd0: 29 29 0a 0a 3b 3b 20 53 74 61 72 74 2d 75 70 20  ))..;; Start-up 
0de0: 6f 70 74 69 6f 6e 73 0a 28 6c 6f 61 64 2d 74 68  options.(load-th
0df0: 65 6d 65 20 27 73 70 6f 6c 73 6b 79 20 74 29 0a  eme 'spolsky t).
0e00: 28 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 64 65  (add-to-list 'de
0e10: 66 61 75 6c 74 2d 66 72 61 6d 65 2d 61 6c 69 73  fault-frame-alis
0e20: 74 20 27 28 66 6f 6e 74 20 2e 20 22 46 69 72 61  t '(font . "Fira
0e30: 20 43 6f 64 65 22 20 29 29 0a 28 73 65 74 2d 66   Code" )).(set-f
0e40: 61 63 65 2d 61 74 74 72 69 62 75 74 65 20 27 64  ace-attribute 'd
0e50: 65 66 61 75 6c 74 20 74 20 3a 66 6f 6e 74 20 22  efault t :font "
0e60: 46 69 72 61 20 43 6f 64 65 22 20 29 0a 0a 28 73  Fira Code" )..(s
0e70: 65 74 71 20 69 6e 68 69 62 69 74 2d 73 70 6c 61  etq inhibit-spla
0e80: 73 68 2d 73 63 72 65 65 6e 20 74 0a 20 20 20 20  sh-screen t.    
0e90: 20 20 69 6e 69 74 69 61 6c 2d 73 63 72 61 74 63    initial-scratc
0ea0: 68 2d 6d 65 73 73 61 67 65 20 6e 69 6c 0a 20 20  h-message nil.  
0eb0: 20 20 20 20 69 6e 69 74 69 61 6c 2d 6d 61 6a 6f      initial-majo
0ec0: 72 2d 6d 6f 64 65 20 27 6f 72 67 2d 6d 6f 64 65  r-mode 'org-mode
0ed0: 29 0a 0a 28 73 65 74 71 20 6d 61 63 2d 72 69 67  )..(setq mac-rig
0ee0: 68 74 2d 6f 70 74 69 6f 6e 2d 6d 6f 64 69 66 69  ht-option-modifi
0ef0: 65 72 20 27 6d 65 74 61 0a 20 20 20 20 20 20 6d  er 'meta.      m
0f00: 61 63 2d 72 69 67 68 74 2d 6f 70 74 69 6f 6e 2d  ac-right-option-
0f10: 6d 6f 64 69 66 69 65 72 20 6e 69 6c 29 0a 0a 28  modifier nil)..(
0f20: 73 65 74 71 20 73 65 6c 65 63 74 2d 65 6e 61 62  setq select-enab
0f30: 6c 65 2d 63 6c 69 70 62 6f 61 72 64 20 74 29 0a  le-clipboard t).
0f40: 0a 28 73 65 74 71 2d 64 65 66 61 75 6c 74 20 74  .(setq-default t
0f50: 61 62 2d 77 69 64 74 68 20 34 0a 20 20 20 20 20  ab-width 4.     
0f60: 20 20 20 20 20 20 20 20 20 69 6e 64 65 6e 74 2d           indent-
0f70: 74 61 62 73 2d 6d 6f 64 65 20 6e 69 6c 0a 20 20  tabs-mode nil.  
0f80: 20 20 20 20 20 20 20 20 20 20 20 20 63 2d 62 61              c-ba
0f90: 73 69 63 2d 6f 66 66 73 65 74 20 34 29 0a 0a 28  sic-offset 4)..(
0fa0: 73 65 74 71 20 6d 61 6b 65 2d 62 61 63 6b 75 70  setq make-backup
0fb0: 2d 66 69 6c 65 73 20 6e 69 6c 29 0a 0a 28 64 65  -files nil)..(de
0fc0: 66 61 6c 69 61 73 20 27 79 65 73 2d 6f 72 2d 6e  falias 'yes-or-n
0fd0: 6f 2d 70 20 27 79 2d 6f 72 2d 6e 2d 70 29 0a 0a  o-p 'y-or-n-p)..
0fe0: 28 67 6c 6f 62 61 6c 2d 73 65 74 2d 6b 65 79 20  (global-set-key 
0ff0: 28 6b 62 64 20 22 52 45 54 22 29 20 27 6e 65 77  (kbd "RET") 'new
1000: 6c 69 6e 65 2d 61 6e 64 2d 69 6e 64 65 6e 74 29  line-and-indent)
1010: 0a 0a 28 73 65 74 71 20 65 63 68 6f 2d 6b 65 79  ..(setq echo-key
1020: 73 74 72 6f 6b 65 73 20 30 2e 31 0a 20 20 20 20  strokes 0.1.    
1030: 20 20 75 73 65 2d 64 69 61 6c 6f 67 2d 62 6f 78    use-dialog-box
1040: 20 6e 69 6c 0a 20 20 20 20 20 20 76 69 73 69 62   nil.      visib
1050: 6c 65 2d 62 65 6c 6c 20 74 29 0a 0a 28 73 68 6f  le-bell t)..(sho
1060: 77 2d 70 61 72 65 6e 2d 6d 6f 64 65 20 74 29 0a  w-paren-mode t).
1070: 0a 28 70 72 6f 6a 65 63 74 69 6c 65 2d 6d 6f 64  .(projectile-mod
1080: 65 20 2b 31 29 0a 28 64 65 66 69 6e 65 2d 6b 65  e +1).(define-ke
1090: 79 20 70 72 6f 6a 65 63 74 69 6c 65 2d 6d 6f 64  y projectile-mod
10a0: 65 2d 6d 61 70 20 28 6b 62 64 20 22 73 2d 70 22  e-map (kbd "s-p"
10b0: 29 20 27 70 72 6f 6a 65 63 74 69 6c 65 2d 63 6f  ) 'projectile-co
10c0: 6d 6d 61 6e 64 2d 6d 61 70 29 0a 28 64 65 66 69  mmand-map).(defi
10d0: 6e 65 2d 6b 65 79 20 70 72 6f 6a 65 63 74 69 6c  ne-key projectil
10e0: 65 2d 6d 6f 64 65 2d 6d 61 70 20 28 6b 62 64 20  e-mode-map (kbd 
10f0: 22 43 2d 63 20 70 22 29 20 27 70 72 6f 6a 65 63  "C-c p") 'projec
1100: 74 69 6c 65 2d 63 6f 6d 6d 61 6e 64 2d 6d 61 70  tile-command-map
1110: 29 0a 0a 28 75 73 65 2d 70 61 63 6b 61 67 65 20  )..(use-package 
1120: 77 68 69 63 68 2d 6b 65 79 0a 20 20 3a 69 6e 69  which-key.  :ini
1130: 74 20 28 77 68 69 63 68 2d 6b 65 79 2d 6d 6f 64  t (which-key-mod
1140: 65 29 29 0a 0a 28 75 73 65 2d 70 61 63 6b 61 67  e))..(use-packag
1150: 65 20 73 6d 61 72 74 70 61 72 65 6e 73 2d 63 6f  e smartparens-co
1160: 6e 66 69 67 0a 20 20 3a 69 6e 69 74 20 28 73 6d  nfig.  :init (sm
1170: 61 72 74 70 61 72 65 6e 73 2d 67 6c 6f 62 61 6c  artparens-global
1180: 2d 6d 6f 64 65 29 29 0a 0a 3b 3b 20 46 6c 79 63  -mode))..;; Flyc
1190: 68 65 63 6b 0a 28 75 73 65 2d 70 61 63 6b 61 67  heck.(use-packag
11a0: 65 20 66 6c 79 63 68 65 63 6b 0a 20 20 3a 65 6e  e flycheck.  :en
11b0: 73 75 72 65 20 74 0a 20 20 3a 69 6e 69 74 20 28  sure t.  :init (
11c0: 67 6c 6f 62 61 6c 2d 66 6c 79 63 68 65 63 6b 2d  global-flycheck-
11d0: 6d 6f 64 65 29 29 0a 0a 3b 3b 20 4c 53 50 0a 28  mode))..;; LSP.(
11e0: 73 65 74 71 20 67 63 2d 63 6f 6e 73 2d 74 68 72  setq gc-cons-thr
11f0: 65 73 68 6f 6c 64 20 31 30 30 30 30 30 30 30 30  eshold 100000000
1200: 29 0a 28 73 65 74 71 20 72 65 61 64 2d 70 72 6f  ).(setq read-pro
1210: 63 65 73 73 2d 6f 75 74 70 75 74 2d 6d 61 78 20  cess-output-max 
1220: 28 2a 20 31 30 32 34 20 31 30 32 34 29 29 0a 28  (* 1024 1024)).(
1230: 75 73 65 2d 70 61 63 6b 61 67 65 20 6c 73 70 2d  use-package lsp-
1240: 6d 6f 64 65 0a 20 20 3a 65 6e 73 75 72 65 20 74  mode.  :ensure t
1250: 0a 20 20 3a 63 6f 6d 6d 61 6e 64 73 20 28 6c 73  .  :commands (ls
1260: 70 20 6c 73 70 2d 64 65 66 65 72 72 65 64 29 0a  p lsp-deferred).
1270: 20 20 3a 63 6f 6e 66 69 67 0a 20 20 28 73 65 74    :config.  (set
1280: 71 20 6c 73 70 2d 72 65 73 70 6f 6e 73 65 2d 74  q lsp-response-t
1290: 69 6d 65 6f 75 74 20 32 35 29 0a 20 20 28 73 65  imeout 25).  (se
12a0: 74 71 20 6c 73 70 2d 63 6f 6d 70 6c 65 74 69 6f  tq lsp-completio
12b0: 6e 2d 70 72 6f 76 69 64 65 72 20 3a 63 61 70 66  n-provider :capf
12c0: 29 0a 20 20 28 73 65 74 71 20 6c 73 70 2d 69 64  ).  (setq lsp-id
12d0: 6c 65 2d 64 65 6c 61 79 20 30 2e 35 30 30 29 29  le-delay 0.500))
12e0: 0a 28 64 65 66 75 6e 20 6c 73 70 2d 69 6e 73 74  .(defun lsp-inst
12f0: 61 6c 6c 2d 73 61 76 65 2d 68 6f 6f 6b 73 20 28  all-save-hooks (
1300: 29 20 22 49 6e 73 74 61 6c 6c 20 73 61 76 65 20  ) "Install save 
1310: 68 6f 6f 6b 73 20 66 6f 72 20 6c 73 70 2e 22 0a  hooks for lsp.".
1320: 20 20 20 20 20 20 20 28 61 64 64 2d 68 6f 6f 6b         (add-hook
1330: 20 27 62 65 66 6f 72 65 2d 73 61 76 65 2d 68 6f   'before-save-ho
1340: 6f 6b 20 23 27 6c 73 70 2d 66 6f 72 6d 61 74 2d  ok #'lsp-format-
1350: 62 75 66 66 65 72 20 74 20 74 29 0a 20 20 20 20  buffer t t).    
1360: 20 20 20 28 61 64 64 2d 68 6f 6f 6b 20 27 62 65     (add-hook 'be
1370: 66 6f 72 65 2d 73 61 76 65 2d 68 6f 6f 6b 20 23  fore-save-hook #
1380: 27 6c 73 70 2d 6f 72 67 61 6e 69 7a 65 2d 69 6d  'lsp-organize-im
1390: 70 6f 72 74 73 20 74 20 74 29 29 0a 28 75 73 65  ports t t)).(use
13a0: 2d 70 61 63 6b 61 67 65 20 6c 73 70 2d 75 69 0a  -package lsp-ui.
13b0: 20 20 3a 65 6e 73 75 72 65 20 74 0a 20 20 3a 63    :ensure t.  :c
13c0: 6f 6d 6d 61 6e 64 73 20 6c 73 70 2d 75 69 2d 6d  ommands lsp-ui-m
13d0: 6f 64 65 0a 20 20 3a 63 6f 6e 66 69 67 0a 20 20  ode.  :config.  
13e0: 28 73 65 74 71 20 6c 73 70 2d 75 69 2d 64 6f 63  (setq lsp-ui-doc
13f0: 2d 70 6f 73 69 74 69 6f 6e 20 27 61 74 2d 70 6f  -position 'at-po
1400: 69 6e 74 29 0a 20 20 28 73 65 74 71 20 6c 73 70  int).  (setq lsp
1410: 2d 75 69 2d 64 6f 63 2d 61 6c 69 67 6e 6d 65 6e  -ui-doc-alignmen
1420: 74 20 27 77 69 6e 64 6f 77 29 29 0a 28 75 73 65  t 'window)).(use
1430: 2d 70 61 63 6b 61 67 65 20 63 6f 6d 70 61 6e 79  -package company
1440: 0a 20 20 3a 65 6e 73 75 72 65 20 74 0a 20 20 3a  .  :ensure t.  :
1450: 63 6f 6e 66 69 67 0a 20 20 3b 3b 20 4f 70 74 69  config.  ;; Opti
1460: 6f 6e 61 6c 6c 79 20 65 6e 61 62 6c 65 20 63 6f  onally enable co
1470: 6d 70 6c 65 74 69 6f 6e 2d 61 73 2d 79 6f 75 2d  mpletion-as-you-
1480: 74 79 70 65 20 62 65 68 61 76 69 6f 72 2e 0a 20  type behavior.. 
1490: 20 28 73 65 74 71 20 63 6f 6d 70 61 6e 79 2d 69   (setq company-i
14a0: 64 6c 65 2d 64 65 6c 61 79 20 30 29 0a 20 20 28  dle-delay 0).  (
14b0: 73 65 74 71 20 63 6f 6d 70 61 6e 79 2d 6d 69 6e  setq company-min
14c0: 69 6d 75 6d 2d 70 72 65 66 69 78 2d 6c 65 6e 67  imum-prefix-leng
14d0: 74 68 20 31 29 0a 20 20 3a 69 6e 69 74 20 28 67  th 1).  :init (g
14e0: 6c 6f 62 61 6c 2d 63 6f 6d 70 61 6e 79 2d 6d 6f  lobal-company-mo
14f0: 64 65 29 29 0a 28 75 73 65 2d 70 61 63 6b 61 67  de)).(use-packag
1500: 65 20 63 6f 6d 70 61 6e 79 2d 6c 73 70 0a 20 20  e company-lsp.  
1510: 3a 65 6e 73 75 72 65 20 74 0a 20 20 3a 63 6f 6d  :ensure t.  :com
1520: 6d 61 6e 64 73 20 63 6f 6d 70 61 6e 79 2d 6c 73  mands company-ls
1530: 70 29 0a 28 75 73 65 2d 70 61 63 6b 61 67 65 20  p).(use-package 
1540: 79 61 73 6e 69 70 70 65 74 0a 20 20 3a 65 6e 73  yasnippet.  :ens
1550: 75 72 65 20 74 0a 20 20 3a 63 6f 6d 6d 61 6e 64  ure t.  :command
1560: 73 20 79 61 73 2d 6d 69 6e 6f 72 2d 6d 6f 64 65  s yas-minor-mode
1570: 29 0a 28 72 65 71 75 69 72 65 20 27 79 61 73 6e  ).(require 'yasn
1580: 69 70 70 65 74 29 0a 28 79 61 73 2d 72 65 6c 6f  ippet).(yas-relo
1590: 61 64 2d 61 6c 6c 29 0a 0a 3b 3b 20 4c 61 6e 67  ad-all)..;; Lang
15a0: 75 61 67 65 20 68 6f 6f 6b 73 0a 28 61 64 64 2d  uage hooks.(add-
15b0: 74 6f 2d 6c 69 73 74 20 27 61 75 74 6f 2d 6d 6f  to-list 'auto-mo
15c0: 64 65 2d 61 6c 69 73 74 20 27 28 22 5c 5c 2e 7a  de-alist '("\\.z
15d0: 73 68 24 22 20 2e 20 73 68 65 6c 6c 2d 73 63 72  sh$" . shell-scr
15e0: 69 70 74 2d 6d 6f 64 65 29 29 0a 28 61 64 64 2d  ipt-mode)).(add-
15f0: 74 6f 2d 6c 69 73 74 20 27 61 75 74 6f 2d 6d 6f  to-list 'auto-mo
1600: 64 65 2d 61 6c 69 73 74 20 27 28 22 5c 5c 2e 67  de-alist '("\\.g
1610: 69 74 63 6f 6e 66 69 67 24 22 20 2e 20 63 6f 6e  itconfig$" . con
1620: 66 2d 6d 6f 64 65 29 29 0a 28 61 64 64 2d 74 6f  f-mode)).(add-to
1630: 2d 6c 69 73 74 20 27 61 75 74 6f 2d 6d 6f 64 65  -list 'auto-mode
1640: 2d 61 6c 69 73 74 20 27 28 22 5c 5c 2e 79 6d 6c  -alist '("\\.yml
1650: 24 22 20 2e 20 79 61 6d 6c 2d 6d 6f 64 65 29 29  $" . yaml-mode))
1660: 0a 28 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 61  .(add-to-list 'a
1670: 75 74 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 20 27  uto-mode-alist '
1680: 28 22 5c 5c 2e 79 61 6d 6c 24 22 20 2e 20 79 61  ("\\.yaml$" . ya
1690: 6d 6c 2d 6d 6f 64 65 29 29 0a 28 61 64 64 2d 74  ml-mode)).(add-t
16a0: 6f 2d 6c 69 73 74 20 27 61 75 74 6f 2d 6d 6f 64  o-list 'auto-mod
16b0: 65 2d 61 6c 69 73 74 20 27 28 22 5c 5c 2e 6a 73  e-alist '("\\.js
16c0: 24 22 20 2e 20 6a 73 2d 6d 6f 64 65 29 29 0a 28  $" . js-mode)).(
16d0: 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 61 75 74  add-to-list 'aut
16e0: 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 20 27 28 22  o-mode-alist '("
16f0: 5c 5c 2e 77 69 6b 69 24 22 20 2e 20 68 74 6d 6c  \\.wiki$" . html
1700: 2d 6d 6f 64 65 29 29 0a 28 61 64 64 2d 74 6f 2d  -mode)).(add-to-
1710: 6c 69 73 74 20 27 61 75 74 6f 2d 6d 6f 64 65 2d  list 'auto-mode-
1720: 61 6c 69 73 74 20 27 28 22 5c 5c 2e 76 61 6c 61  alist '("\\.vala
1730: 24 22 20 2e 20 76 61 6c 61 2d 6d 6f 64 65 29 29  $" . vala-mode))
1740: 0a 28 61 64 64 2d 74 6f 2d 6c 69 73 74 20 27 61  .(add-to-list 'a
1750: 75 74 6f 2d 6d 6f 64 65 2d 61 6c 69 73 74 20 27  uto-mode-alist '
1760: 28 22 5c 5c 2e 76 61 70 69 24 22 20 2e 20 76 61  ("\\.vapi$" . va
1770: 6c 61 2d 6d 6f 64 65 29 29 0a 28 61 64 64 2d 74  la-mode)).(add-t
1780: 6f 2d 6c 69 73 74 20 27 66 69 6c 65 2d 63 6f 64  o-list 'file-cod
1790: 69 6e 67 2d 73 79 73 74 65 6d 2d 61 6c 69 73 74  ing-system-alist
17a0: 20 27 28 22 5c 5c 2e 76 61 6c 61 24 22 20 2e 20   '("\\.vala$" . 
17b0: 75 74 66 2d 38 29 29 0a 28 61 64 64 2d 74 6f 2d  utf-8)).(add-to-
17c0: 6c 69 73 74 20 27 66 69 6c 65 2d 63 6f 64 69 6e  list 'file-codin
17d0: 67 2d 73 79 73 74 65 6d 2d 61 6c 69 73 74 20 27  g-system-alist '
17e0: 28 22 5c 5c 2e 76 61 70 69 24 22 20 2e 20 75 74  ("\\.vapi$" . ut
17f0: 66 2d 38 29 29 0a 0a 28 72 65 71 75 69 72 65 20  f-8))..(require 
1800: 27 65 6d 6d 65 74 2d 6d 6f 64 65 29 0a 28 61 64  'emmet-mode).(ad
1810: 64 2d 68 6f 6f 6b 20 27 73 67 6d 6c 2d 6d 6f 64  d-hook 'sgml-mod
1820: 65 2d 68 6f 6f 6b 20 27 65 6d 6d 65 74 2d 6d 6f  e-hook 'emmet-mo
1830: 64 65 29 20 3b 3b 20 41 75 74 6f 2d 73 74 61 72  de) ;; Auto-star
1840: 74 20 6f 6e 20 61 6e 79 20 6d 61 72 6b 75 70 20  t on any markup 
1850: 6d 6f 64 65 73 0a 28 61 64 64 2d 68 6f 6f 6b 20  modes.(add-hook 
1860: 27 63 73 73 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 20  'css-mode-hook  
1870: 27 65 6d 6d 65 74 2d 6d 6f 64 65 29 20 3b 3b 20  'emmet-mode) ;; 
1880: 65 6e 61 62 6c 65 20 45 6d 6d 65 74 27 73 20 63  enable Emmet's c
1890: 73 73 20 61 62 62 72 65 76 69 61 74 69 6f 6e 2e  ss abbreviation.
18a0: 0a 0a 3b 3b 20 4f 72 67 20 4d 6f 64 65 0a 28 72  ..;; Org Mode.(r
18b0: 65 71 75 69 72 65 20 27 6f 72 67 29 0a 28 61 64  equire 'org).(ad
18c0: 64 2d 74 6f 2d 6c 69 73 74 20 27 6f 72 67 2d 6c  d-to-list 'org-l
18d0: 61 74 65 78 2d 70 61 63 6b 61 67 65 73 2d 61 6c  atex-packages-al
18e0: 69 73 74 0a 20 20 20 20 20 20 20 20 20 20 20 20  ist.            
18f0: 20 27 28 22 22 20 22 74 69 6b 7a 22 20 74 29 29   '("" "tikz" t))
1900: 0a 28 65 76 61 6c 2d 61 66 74 65 72 2d 6c 6f 61  .(eval-after-loa
1910: 64 20 22 70 72 65 76 69 65 77 22 0a 20 20 27 28  d "preview".  '(
1920: 61 64 64 2d 74 6f 2d 6c 69 73 74 20 70 72 65 76  add-to-list prev
1930: 69 65 77 2d 64 65 66 61 75 6c 74 2d 70 72 65 61  iew-default-prea
1940: 6d 62 6c 65 20 22 5c 5c 50 72 65 76 69 65 77 45  mble "\\PreviewE
1950: 6e 76 69 72 6f 6e 6d 65 6e 74 7b 74 69 6b 7a 70  nvironment{tikzp
1960: 69 63 74 75 72 65 7d 22 20 74 29 29 0a 28 73 65  icture}" t)).(se
1970: 74 71 20 6f 72 67 2d 70 72 65 76 69 65 77 2d 6c  tq org-preview-l
1980: 61 74 65 78 2d 64 65 66 61 75 6c 74 2d 70 72 6f  atex-default-pro
1990: 63 65 73 73 20 27 69 6d 61 67 65 6d 61 67 69 63  cess 'imagemagic
19a0: 6b 29 0a 0a 3b 3b 20 47 6f 6c 61 6e 67 0a 28 72  k)..;; Golang.(r
19b0: 65 71 75 69 72 65 20 27 6c 73 70 2d 67 6f 29 0a  equire 'lsp-go).
19c0: 28 75 73 65 2d 70 61 63 6b 61 67 65 20 6c 73 70  (use-package lsp
19d0: 2d 6d 6f 64 65 0a 20 20 3a 65 6e 73 75 72 65 20  -mode.  :ensure 
19e0: 74 0a 20 20 3a 63 6f 6d 6d 61 6e 64 73 20 28 6c  t.  :commands (l
19f0: 73 70 20 6c 73 70 2d 64 65 66 65 72 72 65 64 29  sp lsp-deferred)
1a00: 0a 20 20 3a 68 6f 6f 6b 20 28 67 6f 2d 6d 6f 64  .  :hook (go-mod
1a10: 65 20 2e 20 6c 73 70 2d 64 65 66 65 72 72 65 64  e . lsp-deferred
1a20: 29 29 0a 28 6c 73 70 2d 72 65 67 69 73 74 65 72  )).(lsp-register
1a30: 2d 63 75 73 74 6f 6d 2d 73 65 74 74 69 6e 67 73  -custom-settings
1a40: 0a 20 27 28 28 22 67 6f 70 6c 73 2e 63 6f 6d 70  . '(("gopls.comp
1a50: 6c 65 74 65 55 6e 69 6d 70 6f 72 74 65 64 22 20  leteUnimported" 
1a60: 74 20 74 29 29 29 0a 3b 3b 28 73 65 74 71 20 6c  t t))).;;(setq l
1a70: 73 70 2d 67 6f 70 6c 73 2d 75 73 65 2d 70 6c 61  sp-gopls-use-pla
1a80: 63 65 68 6f 6c 64 65 72 73 20 74 29 0a 28 61 64  ceholders t).(ad
1a90: 64 2d 68 6f 6f 6b 20 27 67 6f 2d 6d 6f 64 65 2d  d-hook 'go-mode-
1aa0: 68 6f 6f 6b 20 23 27 6c 73 70 2d 69 6e 73 74 61  hook #'lsp-insta
1ab0: 6c 6c 2d 73 61 76 65 2d 68 6f 6f 6b 73 29 0a 28  ll-save-hooks).(
1ac0: 61 64 64 2d 68 6f 6f 6b 20 27 67 6f 2d 6d 6f 64  add-hook 'go-mod
1ad0: 65 2d 68 6f 6f 6b 20 27 79 61 73 2d 6d 69 6e 6f  e-hook 'yas-mino
1ae0: 72 2d 6d 6f 64 65 29 0a 0a 3b 3b 20 46 6c 75 74  r-mode)..;; Flut
1af0: 74 65 72 0a 28 75 73 65 2d 70 61 63 6b 61 67 65  ter.(use-package
1b00: 20 64 61 72 74 2d 6d 6f 64 65 0a 20 20 3a 68 6f   dart-mode.  :ho
1b10: 6f 6b 20 28 64 61 72 74 2d 6d 6f 64 65 20 2e 20  ok (dart-mode . 
1b20: 66 6c 75 74 74 65 72 2d 74 65 73 74 2d 6d 6f 64  flutter-test-mod
1b30: 65 29 0a 20 20 3a 63 75 73 74 6f 6d 20 28 64 61  e).  :custom (da
1b40: 72 74 2d 66 6f 72 6d 61 74 2d 6f 6e 2d 73 61 76  rt-format-on-sav
1b50: 65 20 74 29 29 0a 28 61 64 64 2d 68 6f 6f 6b 20  e t)).(add-hook 
1b60: 27 64 61 72 74 2d 6d 6f 64 65 2d 68 6f 6f 6b 20  'dart-mode-hook 
1b70: 27 6c 73 70 29 0a 28 61 64 64 2d 68 6f 6f 6b 20  'lsp).(add-hook 
1b80: 27 64 61 72 74 2d 6d 6f 64 65 2d 68 6f 6f 6b 20  'dart-mode-hook 
1b90: 23 27 6c 73 70 2d 69 6e 73 74 61 6c 6c 2d 73 61  #'lsp-install-sa
1ba0: 76 65 2d 68 6f 6f 6b 73 29 0a 28 61 64 64 2d 68  ve-hooks).(add-h
1bb0: 6f 6f 6b 20 27 64 61 72 74 2d 6d 6f 64 65 2d 68  ook 'dart-mode-h
1bc0: 6f 6f 6b 20 27 79 61 73 2d 6d 69 6e 6f 72 2d 6d  ook 'yas-minor-m
1bd0: 6f 64 65 29 0a 28 75 73 65 2d 70 61 63 6b 61 67  ode).(use-packag
1be0: 65 20 66 6c 75 74 74 65 72 0a 20 20 3a 61 66 74  e flutter.  :aft
1bf0: 65 72 20 64 61 72 74 2d 6d 6f 64 65 0a 20 20 3a  er dart-mode.  :
1c00: 62 69 6e 64 20 28 3a 6d 61 70 20 64 61 72 74 2d  bind (:map dart-
1c10: 6d 6f 64 65 2d 6d 61 70 0a 09 09 09 20 20 28 22  mode-map....  ("
1c20: 43 2d 4d 2d 78 22 20 2e 20 23 27 66 6c 75 74 74  C-M-x" . #'flutt
1c30: 65 72 2d 72 75 6e 2d 6f 72 2d 68 6f 74 2d 72 65  er-run-or-hot-re
1c40: 6c 6f 61 64 29 29 0a 20 20 3a 63 75 73 74 6f 6d  load)).  :custom
1c50: 20 28 66 6c 75 74 74 65 72 2d 73 64 6b 2d 70 61   (flutter-sdk-pa
1c60: 74 68 20 22 2f 55 73 65 72 73 2f 61 76 61 6c 6f  th "/Users/avalo
1c70: 73 2f 66 6c 75 74 74 65 72 2f 22 29 29 0a 0a 3b  s/flutter/"))..;
1c80: 3b 20 57 65 62 20 44 65 76 65 6c 6f 70 6d 65 6e  ; Web Developmen
1c90: 74 0a 28 61 64 64 2d 68 6f 6f 6b 20 27 6a 73 2d  t.(add-hook 'js-
1ca0: 6d 6f 64 65 2d 68 6f 6f 6b 20 27 6c 73 70 29 0a  mode-hook 'lsp).
1cb0: 28 61 64 64 2d 68 6f 6f 6b 20 27 6a 73 2d 6d 6f  (add-hook 'js-mo
1cc0: 64 65 2d 68 6f 6f 6b 20 23 27 6c 73 70 2d 69 6e  de-hook #'lsp-in
1cd0: 73 74 61 6c 6c 2d 73 61 76 65 2d 68 6f 6f 6b 73  stall-save-hooks
1ce0: 29 0a 28 61 64 64 2d 68 6f 6f 6b 20 27 6a 73 2d  ).(add-hook 'js-
1cf0: 6d 6f 64 65 2d 68 6f 6f 6b 20 27 79 61 73 2d 6d  mode-hook 'yas-m
1d00: 69 6e 6f 72 2d 6d 6f 64 65 29 0a 0a 3b 3b 20 50  inor-mode)..;; P
1d10: 6c 61 74 66 6f 72 6d 49 4f 0a 28 72 65 71 75 69  latformIO.(requi
1d20: 72 65 20 27 70 6c 61 74 66 6f 72 6d 69 6f 2d 6d  re 'platformio-m
1d30: 6f 64 65 29 0a 28 61 64 64 2d 74 6f 2d 6c 69 73  ode).(add-to-lis
1d40: 74 20 27 63 6f 6d 70 61 6e 79 2d 62 61 63 6b 65  t 'company-backe
1d50: 6e 64 73 20 27 63 6f 6d 70 61 6e 79 2d 69 72 6f  nds 'company-iro
1d60: 6e 79 29 0a 28 61 64 64 2d 68 6f 6f 6b 20 27 63  ny).(add-hook 'c
1d70: 2b 2b 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 28 6c 61  ++-mode-hook (la
1d80: 6d 62 64 61 20 28 29 0a 20 20 20 20 20 20 20 20  mbda ().        
1d90: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
1da0: 20 20 20 28 69 72 6f 6e 79 2d 6d 6f 64 65 29 0a     (irony-mode).
1db0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
1dc0: 20 20 20 20 20 20 20 20 20 20 20 28 69 72 6f 6e             (iron
1dd0: 79 2d 65 6c 64 6f 63 29 0a 20 20 20 20 20 20 20  y-eldoc).       
1de0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20                  
1df0: 20 20 20 20 28 70 6c 61 74 66 6f 72 6d 69 6f 2d      (platformio-
1e00: 63 6f 6e 64 69 74 69 6f 6e 61 6c 6c 79 2d 65 6e  conditionally-en
1e10: 61 62 6c 65 29 29 29 0a 28 61 64 64 2d 68 6f 6f  able))).(add-hoo
1e20: 6b 20 27 69 72 6f 6e 79 2d 6d 6f 64 65 2d 68 6f  k 'irony-mode-ho
1e30: 6f 6b 0a 20 20 20 20 20 20 20 20 20 20 28 6c 61  ok.          (la
1e40: 6d 62 64 61 20 28 29 0a 20 20 20 20 20 20 20 20  mbda ().        
1e50: 20 20 20 20 28 64 65 66 69 6e 65 2d 6b 65 79 20      (define-key 
1e60: 69 72 6f 6e 79 2d 6d 6f 64 65 2d 6d 61 70 20 5b  irony-mode-map [
1e70: 72 65 6d 61 70 20 63 6f 6d 70 6c 65 74 69 6f 6e  remap completion
1e80: 2d 61 74 2d 70 6f 69 6e 74 5d 0a 20 20 20 20 20  -at-point].     
1e90: 20 20 20 20 20 20 20 20 20 27 69 72 6f 6e 79 2d           'irony-
1ea0: 63 6f 6d 70 6c 65 74 69 6f 6e 2d 61 74 2d 70 6f  completion-at-po
1eb0: 69 6e 74 2d 61 73 79 6e 63 29 0a 20 20 20 20 20  int-async).     
1ec0: 20 20 20 20 20 20 20 28 64 65 66 69 6e 65 2d 6b         (define-k
1ed0: 65 79 20 69 72 6f 6e 79 2d 6d 6f 64 65 2d 6d 61  ey irony-mode-ma
1ee0: 70 20 5b 72 65 6d 61 70 20 63 6f 6d 70 6c 65 74  p [remap complet
1ef0: 65 2d 73 79 6d 62 6f 6c 5d 0a 20 20 20 20 20 20  e-symbol].      
1f00: 20 20 20 20 20 20 20 20 27 69 72 6f 6e 79 2d 63          'irony-c
1f10: 6f 6d 70 6c 65 74 69 6f 6e 2d 61 74 2d 70 6f 69  ompletion-at-poi
1f20: 6e 74 2d 61 73 79 6e 63 29 0a 20 20 20 20 20 20  nt-async).      
1f30: 20 20 20 20 20 20 28 69 72 6f 6e 79 2d 63 64 62        (irony-cdb
1f40: 2d 61 75 74 6f 73 65 74 75 70 2d 63 6f 6d 70 69  -autosetup-compi
1f50: 6c 65 2d 6f 70 74 69 6f 6e 73 29 29 29 0a 28 61  le-options))).(a
1f60: 64 64 2d 68 6f 6f 6b 20 27 66 6c 79 63 68 65 63  dd-hook 'flychec
1f70: 6b 2d 6d 6f 64 65 2d 68 6f 6f 6b 20 27 66 6c 79  k-mode-hook 'fly
1f80: 63 68 65 63 6b 2d 69 72 6f 6e 79 2d 73 65 74 75  check-irony-setu
1f90: 70 29 0a 0a 3b 3b 20 43 75 73 74 6f 6d 0a 28 63  p)..;; Custom.(c
1fa0: 75 73 74 6f 6d 2d 73 65 74 2d 76 61 72 69 61 62  ustom-set-variab
1fb0: 6c 65 73 0a 20 3b 3b 20 63 75 73 74 6f 6d 2d 73  les. ;; custom-s
1fc0: 65 74 2d 76 61 72 69 61 62 6c 65 73 20 77 61 73  et-variables was
1fd0: 20 61 64 64 65 64 20 62 79 20 43 75 73 74 6f 6d   added by Custom
1fe0: 2e 0a 20 3b 3b 20 49 66 20 79 6f 75 20 65 64 69  .. ;; If you edi
1ff0: 74 20 69 74 20 62 79 20 68 61 6e 64 2c 20 79 6f  t it by hand, yo
2000: 75 20 63 6f 75 6c 64 20 6d 65 73 73 20 69 74 20  u could mess it 
2010: 75 70 2c 20 73 6f 20 62 65 20 63 61 72 65 66 75  up, so be carefu
2020: 6c 2e 0a 20 3b 3b 20 59 6f 75 72 20 69 6e 69 74  l.. ;; Your init
2030: 20 66 69 6c 65 20 73 68 6f 75 6c 64 20 63 6f 6e   file should con
2040: 74 61 69 6e 20 6f 6e 6c 79 20 6f 6e 65 20 73 75  tain only one su
2050: 63 68 20 69 6e 73 74 61 6e 63 65 2e 0a 20 3b 3b  ch instance.. ;;
2060: 20 49 66 20 74 68 65 72 65 20 69 73 20 6d 6f 72   If there is mor
2070: 65 20 74 68 61 6e 20 6f 6e 65 2c 20 74 68 65 79  e than one, they
2080: 20 77 6f 6e 27 74 20 77 6f 72 6b 20 72 69 67 68   won't work righ
2090: 74 2e 0a 20 27 28 61 6e 73 69 2d 63 6f 6c 6f 72  t.. '(ansi-color
20a0: 2d 66 61 63 65 73 2d 76 65 63 74 6f 72 0a 20 20  -faces-vector.  
20b0: 20 5b 64 65 66 61 75 6c 74 20 64 65 66 61 75 6c   [default defaul
20c0: 74 20 64 65 66 61 75 6c 74 20 69 74 61 6c 69 63  t default italic
20d0: 20 75 6e 64 65 72 6c 69 6e 65 20 73 75 63 63 65   underline succe
20e0: 73 73 20 77 61 72 6e 69 6e 67 20 65 72 72 6f 72  ss warning error
20f0: 5d 29 0a 20 27 28 61 6e 73 69 2d 63 6f 6c 6f 72  ]). '(ansi-color
2100: 2d 6e 61 6d 65 73 2d 76 65 63 74 6f 72 0a 20 20  -names-vector.  
2110: 20 5b 22 23 32 65 33 34 33 36 22 20 22 23 61 34   ["#2e3436" "#a4
2120: 30 30 30 30 22 20 22 23 34 65 39 61 30 36 22 20  0000" "#4e9a06" 
2130: 22 23 63 34 61 30 30 30 22 20 22 23 32 30 34 61  "#c4a000" "#204a
2140: 38 37 22 20 22 23 35 63 33 35 36 36 22 20 22 23  87" "#5c3566" "#
2150: 37 32 39 66 63 66 22 20 22 23 65 65 65 65 65 63  729fcf" "#eeeeec
2160: 22 5d 29 0a 20 27 28 63 75 73 74 6f 6d 2d 73 61  "]). '(custom-sa
2170: 66 65 2d 74 68 65 6d 65 73 0a 20 20 20 27 28 22  fe-themes.   '("
2180: 64 37 34 39 31 63 35 39 39 38 38 35 35 37 31 62  d7491c599885571b
2190: 32 36 34 35 39 36 62 38 32 35 66 39 64 33 37 61  264596b825f9d37a
21a0: 66 34 65 62 61 30 38 62 66 30 39 64 39 36 34 35  f4eba08bf09d9645
21b0: 66 39 35 35 66 34 36 30 35 39 34 38 31 63 64 63  f955f46059481cdc
21c0: 22 20 64 65 66 61 75 6c 74 29 29 0a 20 27 28 69  " default)). '(i
21d0: 6e 68 69 62 69 74 2d 73 74 61 72 74 75 70 2d 73  nhibit-startup-s
21e0: 63 72 65 65 6e 20 74 29 0a 20 27 28 70 61 63 6b  creen t). '(pack
21f0: 61 67 65 2d 73 65 6c 65 63 74 65 64 2d 70 61 63  age-selected-pac
2200: 6b 61 67 65 73 0a 20 20 20 27 28 6a 73 78 2d 6d  kages.   '(jsx-m
2210: 6f 64 65 20 63 6f 6d 70 61 6e 79 2d 70 68 70 20  ode company-php 
2220: 6b 6f 74 6c 69 6e 2d 6d 6f 64 65 20 63 6f 6d 70  kotlin-mode comp
2230: 61 6e 79 2d 6e 67 69 6e 78 20 6d 61 72 6b 64 6f  any-nginx markdo
2240: 77 6e 2d 6d 6f 64 65 2b 29 29 29 0a 28 63 75 73  wn-mode+))).(cus
2250: 74 6f 6d 2d 73 65 74 2d 66 61 63 65 73 0a 20 3b  tom-set-faces. ;
2260: 3b 20 63 75 73 74 6f 6d 2d 73 65 74 2d 66 61 63  ; custom-set-fac
2270: 65 73 20 77 61 73 20 61 64 64 65 64 20 62 79 20  es was added by 
2280: 43 75 73 74 6f 6d 2e 0a 20 3b 3b 20 49 66 20 79  Custom.. ;; If y
2290: 6f 75 20 65 64 69 74 20 69 74 20 62 79 20 68 61  ou edit it by ha
22a0: 6e 64 2c 20 79 6f 75 20 63 6f 75 6c 64 20 6d 65  nd, you could me
22b0: 73 73 20 69 74 20 75 70 2c 20 73 6f 20 62 65 20  ss it up, so be 
22c0: 63 61 72 65 66 75 6c 2e 0a 20 3b 3b 20 59 6f 75  careful.. ;; You
22d0: 72 20 69 6e 69 74 20 66 69 6c 65 20 73 68 6f 75  r init file shou
22e0: 6c 64 20 63 6f 6e 74 61 69 6e 20 6f 6e 6c 79 20  ld contain only 
22f0: 6f 6e 65 20 73 75 63 68 20 69 6e 73 74 61 6e 63  one such instanc
2300: 65 2e 0a 20 3b 3b 20 49 66 20 74 68 65 72 65 20  e.. ;; If there 
2310: 69 73 20 6d 6f 72 65 20 74 68 61 6e 20 6f 6e 65  is more than one
2320: 2c 20 74 68 65 79 20 77 6f 6e 27 74 20 77 6f 72  , they won't wor
2330: 6b 20 72 69 67 68 74 2e 0a 20 27 28 64 65 66 61  k right.. '(defa
2340: 75 6c 74 20 28 28 74 20 28 3a 62 61 63 6b 67 72  ult ((t (:backgr
2350: 6f 75 6e 64 20 6e 69 6c 29 29 29 29 29 0a        ound nil))))).