this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

changes

+174 -158
+138 -137
spacemacs
··· 1 - ;; -*- mode: emacs-lisp -*- 2 - ;; This file is loaded by Spacemacs at startup. 3 - ;; It must be stored in your home directory. 1 + ;; -*- mode: emacs-lisp -*- This file is loaded by Spacemacs at startup. It must 2 + ;; be stored in your home directory. 4 3 5 4 (defun dotspacemacs/layers () 6 5 "Layer configuration: ··· 211 210 ;; Default font, or prioritized list of fonts. `powerline-scale' allows to 212 211 ;; quickly tweak the mode-line size to make separators look not too crappy. 213 212 dotspacemacs-default-font 214 - '("Fira Code" :size 16 213 + '("SF Mono" 214 + ;; :size 16 215 215 :weight normal 216 216 :width normal 217 - :powerline-scale 1.1) 217 + :powerline-scale 1.1 218 + ) 218 219 ;; The leader key (default "SPC") 219 220 dotspacemacs-leader-key 220 221 "SPC" ··· 505 506 506 507 ;; Fira code 507 508 ;; This works when using emacs --daemon + emacsclient 508 - (add-hook 'after-make-frame-functions 509 - (lambda (frame) 510 - (set-fontset-font t 511 - '(#Xe100 . #Xe16f) 512 - "Fira Code Symbol"))) 509 + ;; (add-hook 'after-make-frame-functions 510 + ;; (lambda (frame) 511 + ;; (set-fontset-font t 512 + ;; '(#Xe100 . #Xe16f) 513 + ;; "Fira Code Symbol"))) 513 514 ;; This works when using emacs without server/client 514 - (set-fontset-font t 515 - '(#Xe100 . #Xe16f) 516 - "Fira Code Symbol") 515 + ;; (set-fontset-font t 516 + ;; '(#Xe100 . #Xe16f) 517 + ;; "Fira Code Symbol") 517 518 ;; I haven't found one statement that makes both of the above situations work, so I use both for now 518 - (defconst fira-code-font-lock-keywords-alist (mapcar (lambda (regex-char-pair) 519 - `(,(car regex-char-pair) 520 - (0 521 - (prog1 () 522 - (compose-region (match-beginning 1) 523 - (match-end 1) 524 - ;; The first argument to concat is a string containing a literal tab 519 + ;; (defconst fira-code-font-lock-keywords-alist (mapcar (lambda (regex-char-pair) 520 + ;; `(,(car regex-char-pair) 521 + ;; (0 522 + ;; (prog1 () 523 + ;; (compose-region (match-beginning 1) 524 + ;; (match-end 1) 525 + ;; ;; The first argument to concat is a string containing a literal tab 525 526 526 - ,(concat " " 527 - (list (decode-char 'ucs 528 - (cadr regex-char-pair))))))))) 529 - '(("\\(www\\)" #Xe100) 530 - ("[^/]\\(\\*\\*\\)[^/]" #Xe101) 531 - ("\\(\\*\\*\\*\\)" #Xe102) 532 - ("\\(\\*\\*/\\)" #Xe103) 533 - ("\\(\\*>\\)" #Xe104) 534 - ("[^*]\\(\\*/\\)" #Xe105) 535 - ("\\(\\\\\\\\\\)" #Xe106) 536 - ("\\(\\\\\\\\\\\\\\)" #Xe107) 537 - ("\\({-\\)" #Xe108) 538 - ;; ("\\(\\[\\]\\)" #Xe109) This is the [] ligature and I don't like 539 - ("\\(::\\)" #Xe10a) 540 - ("\\(:::\\)" #Xe10b) 541 - ("[^=]\\(:=\\)" #Xe10c) 542 - ("\\(!!\\)" #Xe10d) 543 - ("\\(!=\\)" #Xe10e) 544 - ("\\(!==\\)" #Xe10f) 545 - ("\\(-}\\)" #Xe110) 546 - ("\\(--\\)" #Xe111) 547 - ("\\(---\\)" #Xe112) 548 - ("\\(-->\\)" #Xe113) 549 - ("[^-]\\(->\\)" #Xe114) 550 - ("\\(->>\\)" #Xe115) 551 - ("\\(-<\\)" #Xe116) 552 - ("\\(-<<\\)" #Xe117) 553 - ("\\(-~\\)" #Xe118) 554 - ("\\(#{\\)" #Xe119) 555 - ("\\(#\\[\\)" #Xe11a) 556 - ("\\(##\\)" #Xe11b) 557 - ("\\(###\\)" #Xe11c) 558 - ("\\(####\\)" #Xe11d) 559 - ("\\(#(\\)" #Xe11e) 560 - ("\\(#\\?\\)" #Xe11f) 561 - ("\\(#_\\)" #Xe120) 562 - ("\\(#_(\\)" #Xe121) 563 - ("\\(\\.-\\)" #Xe122) 564 - ("\\(\\.=\\)" #Xe123) 565 - ("\\(\\.\\.\\)" #Xe124) 566 - ("\\(\\.\\.<\\)" #Xe125) 567 - ("\\(\\.\\.\\.\\)" #Xe126) 568 - ("\\(\\?=\\)" #Xe127) 569 - ("\\(\\?\\?\\)" #Xe128) 570 - ("\\(;;\\)" #Xe129) 571 - ("\\(/\\*\\)" #Xe12a) 572 - ("\\(/\\*\\*\\)" #Xe12b) 573 - ("\\(/=\\)" #Xe12c) 574 - ("\\(/==\\)" #Xe12d) 575 - ("\\(/>\\)" #Xe12e) 576 - ("\\(//\\)" #Xe12f) 577 - ("\\(///\\)" #Xe130) 578 - ("\\(&&\\)" #Xe131) 579 - ("\\(||\\)" #Xe132) 580 - ("\\(||=\\)" #Xe133) 581 - ;("[^|]\\(|=\\)" #Xe134) 582 - ("\\(|>\\)" #Xe135) 583 - ("\\(\\^=\\)" #Xe136) 584 - ("\\(\\$>\\)" #Xe137) 585 - ("\\(\\+\\+\\)" #Xe138) 586 - ("\\(\\+\\+\\+\\)" #Xe139) 587 - ("\\(\\+>\\)" #Xe13a) 588 - ("\\(=:=\\)" #Xe13b) 589 - ;("[^!/]\\(==\\)[^>]" #Xe13c) 590 - ("\\(===\\)" #Xe13d) 591 - ("\\(==>\\)" #Xe13e) 592 - ;("[^=]\\(=>\\)" #Xe13f) 593 - ("\\(=>>\\)" #Xe140) 594 - ("\\(<=\\)" #Xe141) 595 - ("\\(=<<\\)" #Xe142) 596 - ("\\(=/=\\)" #Xe143) 597 - ("\\(>-\\)" #Xe144) 598 - ("\\(>=\\)" #Xe145) 599 - ("\\(>=>\\)" #Xe146) 600 - ("[^-=]\\(>>\\)" #Xe147) 601 - ("\\(>>-\\)" #Xe148) 602 - ("\\(>>=\\)" #Xe149) 603 - ("\\(>>>\\)" #Xe14a) 604 - ("\\(<\\*\\)" #Xe14b) 605 - ("\\(<\\*>\\)" #Xe14c) 606 - ("\\(<|\\)" #Xe14d) 607 - ("\\(<|>\\)" #Xe14e) 608 - ("\\(<\\$\\)" #Xe14f) 609 - ("\\(<\\$>\\)" #Xe150) 610 - ("\\(<!--\\)" #Xe151) 611 - ("\\(<-\\)" #Xe152) 612 - ("\\(<--\\)" #Xe153) 613 - ("\\(<->\\)" #Xe154) 614 - ("\\(<\\+\\)" #Xe155) 615 - ("\\(<\\+>\\)" #Xe156) 616 - ("\\(<=\\)" #Xe157) 617 - ("\\(<==\\)" #Xe158) 618 - ("\\(<=>\\)" #Xe159) 619 - ("\\(<=<\\)" #Xe15a) 620 - ("\\(<>\\)" #Xe15b) 621 - ("[^-=]\\(<<\\)" #Xe15c) 622 - ("\\(<<-\\)" #Xe15d) 623 - ("\\(<<=\\)" #Xe15e) 624 - ("\\(<<<\\)" #Xe15f) 625 - ("\\(<~\\)" #Xe160) 626 - ("\\(<~~\\)" #Xe161) 627 - ("\\(</\\)" #Xe162) 628 - ("\\(</>\\)" #Xe163) 629 - ("\\(~@\\)" #Xe164) 630 - ("\\(~-\\)" #Xe165) 631 - ("\\(~=\\)" #Xe166) 632 - ("\\(~>\\)" #Xe167) 633 - ("[^<]\\(~~\\)" #Xe168) 634 - ("\\(~~>\\)" #Xe169) 635 - ("\\(%%\\)" #Xe16a) 636 - ;; ("\\(x\\)" #Xe16b) This ended up being hard to do properly so i'm leaving it out. 637 - ("[^:=]\\(:\\)[^:=]" #Xe16c) 638 - ("[^\\+<>]\\(\\+\\)[^\\+<>]" #Xe16d) 639 - ("[^\\*/<>]\\(\\*\\)[^\\*/<>]" #Xe16f)))) 640 - (defun add-fira-code-symbol-keywords () 641 - (font-lock-add-keywords nil fira-code-font-lock-keywords-alist)) 642 - (add-hook 'prog-mode-hook #'add-fira-code-symbol-keywords) 527 + ;; ,(concat " " 528 + ;; (list (decode-char 'ucs 529 + ;; (cadr regex-char-pair))))))))) 530 + ;; '(("\\(www\\)" #Xe100) 531 + ;; ("[^/]\\(\\*\\*\\)[^/]" #Xe101) 532 + ;; ("\\(\\*\\*\\*\\)" #Xe102) 533 + ;; ("\\(\\*\\*/\\)" #Xe103) 534 + ;; ("\\(\\*>\\)" #Xe104) 535 + ;; ("[^*]\\(\\*/\\)" #Xe105) 536 + ;; ("\\(\\\\\\\\\\)" #Xe106) 537 + ;; ("\\(\\\\\\\\\\\\\\)" #Xe107) 538 + ;; ("\\({-\\)" #Xe108) 539 + ;; ;; ("\\(\\[\\]\\)" #Xe109) This is the [] ligature and I don't like 540 + ;; ("\\(::\\)" #Xe10a) 541 + ;; ("\\(:::\\)" #Xe10b) 542 + ;; ("[^=]\\(:=\\)" #Xe10c) 543 + ;; ("\\(!!\\)" #Xe10d) 544 + ;; ("\\(!=\\)" #Xe10e) 545 + ;; ("\\(!==\\)" #Xe10f) 546 + ;; ("\\(-}\\)" #Xe110) 547 + ;; ("\\(--\\)" #Xe111) 548 + ;; ("\\(---\\)" #Xe112) 549 + ;; ("\\(-->\\)" #Xe113) 550 + ;; ("[^-]\\(->\\)" #Xe114) 551 + ;; ("\\(->>\\)" #Xe115) 552 + ;; ("\\(-<\\)" #Xe116) 553 + ;; ("\\(-<<\\)" #Xe117) 554 + ;; ("\\(-~\\)" #Xe118) 555 + ;; ("\\(#{\\)" #Xe119) 556 + ;; ("\\(#\\[\\)" #Xe11a) 557 + ;; ("\\(##\\)" #Xe11b) 558 + ;; ("\\(###\\)" #Xe11c) 559 + ;; ("\\(####\\)" #Xe11d) 560 + ;; ("\\(#(\\)" #Xe11e) 561 + ;; ("\\(#\\?\\)" #Xe11f) 562 + ;; ("\\(#_\\)" #Xe120) 563 + ;; ("\\(#_(\\)" #Xe121) 564 + ;; ("\\(\\.-\\)" #Xe122) 565 + ;; ("\\(\\.=\\)" #Xe123) 566 + ;; ("\\(\\.\\.\\)" #Xe124) 567 + ;; ("\\(\\.\\.<\\)" #Xe125) 568 + ;; ("\\(\\.\\.\\.\\)" #Xe126) 569 + ;; ("\\(\\?=\\)" #Xe127) 570 + ;; ("\\(\\?\\?\\)" #Xe128) 571 + ;; ("\\(;;\\)" #Xe129) 572 + ;; ("\\(/\\*\\)" #Xe12a) 573 + ;; ("\\(/\\*\\*\\)" #Xe12b) 574 + ;; ("\\(/=\\)" #Xe12c) 575 + ;; ("\\(/==\\)" #Xe12d) 576 + ;; ("\\(/>\\)" #Xe12e) 577 + ;; ("\\(//\\)" #Xe12f) 578 + ;; ("\\(///\\)" #Xe130) 579 + ;; ("\\(&&\\)" #Xe131) 580 + ;; ("\\(||\\)" #Xe132) 581 + ;; ("\\(||=\\)" #Xe133) 582 + ;; ;("[^|]\\(|=\\)" #Xe134) 583 + ;; ("\\(|>\\)" #Xe135) 584 + ;; ("\\(\\^=\\)" #Xe136) 585 + ;; ("\\(\\$>\\)" #Xe137) 586 + ;; ("\\(\\+\\+\\)" #Xe138) 587 + ;; ("\\(\\+\\+\\+\\)" #Xe139) 588 + ;; ("\\(\\+>\\)" #Xe13a) 589 + ;; ("\\(=:=\\)" #Xe13b) 590 + ;; ;("[^!/]\\(==\\)[^>]" #Xe13c) 591 + ;; ("\\(===\\)" #Xe13d) 592 + ;; ("\\(==>\\)" #Xe13e) 593 + ;; ;("[^=]\\(=>\\)" #Xe13f) 594 + ;; ("\\(=>>\\)" #Xe140) 595 + ;; ("\\(<=\\)" #Xe141) 596 + ;; ("\\(=<<\\)" #Xe142) 597 + ;; ("\\(=/=\\)" #Xe143) 598 + ;; ("\\(>-\\)" #Xe144) 599 + ;; ("\\(>=\\)" #Xe145) 600 + ;; ("\\(>=>\\)" #Xe146) 601 + ;; ("[^-=]\\(>>\\)" #Xe147) 602 + ;; ("\\(>>-\\)" #Xe148) 603 + ;; ("\\(>>=\\)" #Xe149) 604 + ;; ("\\(>>>\\)" #Xe14a) 605 + ;; ("\\(<\\*\\)" #Xe14b) 606 + ;; ("\\(<\\*>\\)" #Xe14c) 607 + ;; ("\\(<|\\)" #Xe14d) 608 + ;; ("\\(<|>\\)" #Xe14e) 609 + ;; ("\\(<\\$\\)" #Xe14f) 610 + ;; ("\\(<\\$>\\)" #Xe150) 611 + ;; ("\\(<!--\\)" #Xe151) 612 + ;; ("\\(<-\\)" #Xe152) 613 + ;; ("\\(<--\\)" #Xe153) 614 + ;; ("\\(<->\\)" #Xe154) 615 + ;; ("\\(<\\+\\)" #Xe155) 616 + ;; ("\\(<\\+>\\)" #Xe156) 617 + ;; ("\\(<=\\)" #Xe157) 618 + ;; ("\\(<==\\)" #Xe158) 619 + ;; ("\\(<=>\\)" #Xe159) 620 + ;; ("\\(<=<\\)" #Xe15a) 621 + ;; ("\\(<>\\)" #Xe15b) 622 + ;; ("[^-=]\\(<<\\)" #Xe15c) 623 + ;; ("\\(<<-\\)" #Xe15d) 624 + ;; ("\\(<<=\\)" #Xe15e) 625 + ;; ("\\(<<<\\)" #Xe15f) 626 + ;; ("\\(<~\\)" #Xe160) 627 + ;; ("\\(<~~\\)" #Xe161) 628 + ;; ("\\(</\\)" #Xe162) 629 + ;; ("\\(</>\\)" #Xe163) 630 + ;; ("\\(~@\\)" #Xe164) 631 + ;; ("\\(~-\\)" #Xe165) 632 + ;; ("\\(~=\\)" #Xe166) 633 + ;; ("\\(~>\\)" #Xe167) 634 + ;; ("[^<]\\(~~\\)" #Xe168) 635 + ;; ("\\(~~>\\)" #Xe169) 636 + ;; ("\\(%%\\)" #Xe16a) 637 + ;; ;; ("\\(x\\)" #Xe16b) This ended up being hard to do properly so i'm leaving it out. 638 + ;; ("[^:=]\\(:\\)[^:=]" #Xe16c) 639 + ;; ("[^\\+<>]\\(\\+\\)[^\\+<>]" #Xe16d) 640 + ;; ("[^\\*/<>]\\(\\*\\)[^\\*/<>]" #Xe16f)))) 641 + ;; (defun add-fira-code-symbol-keywords () 642 + ;; (font-lock-add-keywords nil fira-code-font-lock-keywords-alist)) 643 + ;; (add-hook 'prog-mode-hook #'add-fira-code-symbol-keywords) 643 644 644 645 ;; (defun export-yearly-agenda-as-ics () 645 646 ;; (interactive)
+9 -7
spacemacs-private/custom-config-evil/packages.el
··· 31 31 32 32 (defconst custom-config-evil-packages 33 33 '(evil 34 - rainbow-identifiers) 35 - ) 34 + ;;rainbow-identifiers 35 + ) 36 + ) 36 37 37 38 (defun custom-config-evil/post-init-evil () 38 39 (setq evil-search-module 'evil-search) 39 - ) 40 + ) 40 41 41 42 (defun custom-config-evil/init-rainbow-identifiers () 42 - (use-package rainbow-identifiers 43 - :defer t)) 43 + ;; (use-package rainbow-identifiers 44 + ;; :defer t) 45 + ) 44 46 45 47 (defun custom-config-evil/post-init-rainbow-identifiers () 46 - (add-hook 'prog-mode-hook 'rainbow-identifiers-mode)) 47 - 48 + ;; (add-hook 'prog-mode-hook 'rainbow-identifiers-mode) 49 + ) 48 50 49 51 ;;; packages.el ends here
+22 -12
spacemacs-private/custom-config-org/packages.el
··· 34 34 ) 35 35 36 36 (defun custom-config-org/org-capture-templates () 37 - (setq org-capture-templates '(("m" "micro blog" 38 - plain 39 - (file (lambda () 40 - (expand-file-name (concat (format-time-string "%Y%m%d%H%M%S") 41 - ".md") 42 - "~/Developer/src/personal/blog-hakyll/micro-posts/"))) 43 - "---\npublished : %<%Y-%m-%d %H:%M:%S%z>\n---\n\n%c%?") 37 + (setq org-capture-templates '( 38 + ;; ("m" "micro blog" 39 + ;; plain 40 + ;; (file (lambda () 41 + ;; (expand-file-name (concat (format-time-string "%Y%m%d%H%M%S") 42 + ;; ".md") 43 + ;; "~/Developer/src/personal/blog-hakyll/micro-posts/"))) 44 + ;; "---\npublished : %<%Y-%m-%d %H:%M:%S%z>\n---\n\n%c%?") 45 + 44 46 ("n" "new note" 45 47 item 46 48 (file (lambda () ··· 49 51 ".org") 50 52 org-directory))) 51 53 "**** \n- %?") 54 + 52 55 ;; ("p" "new day plan" 53 56 ;; plain 54 57 ;; (file (lambda () ··· 57 60 ;; ".org") 58 61 ;; "~/Documents/Org-Notes/Plans/"))) 59 62 ;; "#+FILETAGS: planning daily\n* %^{item}\n %^{date}T\n - %?\n") 63 + 60 64 ("t" "new todo" 61 65 entry 62 66 (file+headline "" "Tasks") ··· 100 104 101 105 (defun custom-config-org/post-init-org () 102 106 (setq 103 - org-directory "/Users/kaushik/Documents/Org-Notes/" 107 + ;; org-directory "/Users/kaushik/Documents/Org-Notes/" 108 + org-directory "~/src/org-notes" 104 109 105 - org-default-notes-file "/Users/kaushik/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/Org-Notes/todo.org" 110 + ;; org-default-notes-file "/Users/kaushik/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/Org-Notes/todo.org" 111 + org-default-notes-file (concat org-directory "/todo.org") 112 + 113 + ;; org-agenda-files '( 114 + ;; "/Users/kaushik/Documents/Org-Notes/" 115 + ;; "/Users/kaushik/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/Org-Notes/todo.org" 116 + ;; ) 106 117 107 118 org-agenda-files '( 108 - "/Users/kaushik/Documents/Org-Notes/" 109 - "/Users/kaushik/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/Org-Notes/todo.org" 119 + (org-directory) 120 + (org-default-notes-file) 110 121 ) 111 - 112 122 org-todo-keywords '((sequence 113 123 "TODO(t)" 114 124 "STARTED(s@/!)"
+5 -2
spacemacs-private/custom-nix/packages.el
··· 52 52 :binding "n" 53 53 :body 54 54 (progn 55 - (find-file "~/Developer/src/personal/nix-config/darwin.nix") 56 - (find-file-other-window "~/Developer/src/personal/nixpkgs/pkgs/top-level/all-packages.nix")))) 55 + ;; (find-file "~/Developer/src/personal/nix-config/darwin.nix") 56 + ;; (find-file-other-window "~/Developer/src/personal/nixpkgs/pkgs/top-level/all-packages.nix"))) 57 + (find-file "~/src/nix-config/precision/home.nix") 58 + (find-file-other-window "~/src/nix-config/precision/default.nix"))) 59 + ) 57 60 58 61 ;;; packages.el ends here