Kaynağa Gözat

Grab some customization from work

Eiyeron Fulmincendii 5 yıl önce
ebeveyn
işleme
c830acc397
2 değiştirilmiş dosya ile 22 ekleme ve 4 silme
  1. 18 0
      config.org
  2. 4 4
      init.el

+ 18 - 0
config.org

@@ -78,6 +78,15 @@ Experimenting with that package. I might need to fork it in the future to add th
 (package! pico8-mode :recipe (:host github :repo "Kaali/pico8-mode"))
 #+end_src
 * TODO Config variables to make stuff easily tweakable
+*** Powershell
+#+begin_src emacs-lisp
+(package! powershell.el :recipe (:host github :repo "jschaf/powershell.el"))
+#+end_src
+*** Wikinforg
+#+begin_src emacs-lisp
+(package! wikinfo :recipe (:host github :repo "progfolio/wikinfo"))
+(package! wikinforg :recipe (:host github :repo "progfolio/wikinforg"))
+#+end_src
 * Helper functions
 I had issues before dealing with specific patterns at configuration time. At
 this moment, I don't have all the packages nor do I want to deal with them
@@ -358,6 +367,8 @@ kind of resource links.
                        ;; (propertize (all-the-icons-faicon "file-code-o") 'face '(:foreground "red") )
                        ((string-suffix-p ".pdf" link)
                         (all-the-icons-octicon "file-pdf"))
+                       ((string-match "shadertoy\\.com" link)
+                        (all-the-icons-fileicon "vertex-shader"))
                        ((string-match "\\.cpp" link)
                         (all-the-icons-alltheicon "cplusplus"))
                        ((string-match "\\.cs" link)
@@ -431,6 +442,7 @@ characters.
               :localleader
               :desc "brain" "B" nil
               :desc "Get Id" "Bi" #'org-brain-get-id
+              :desc "Ensure ids" "BI" #'org-brain-ensure-ids-in-buffer
               :desc "Visualize" "Bv" #'org-brain-visualize
         )))
 #+end_src
@@ -496,6 +508,12 @@ Here's some keybindings vaguely inspired from my experience with Spacemacs.
       "* %U %?\n %i\n %a" :heading "Notes" :prepend t)
      ("oc" "Project changelog" entry #'+org-capture-central-project-changelog-file
       "* %U %?\n %i\n %a" :heading "Changelog" :prepend t))))
+** TODO Wikinfoorg
+#+begin_src emacs-lisp
+(use-package! wikinfo
+  :after org)
+(use-package! wikinforg
+  :after wikinfo)
 #+end_src
 * Pico-8
 Using that [[https://github.com/Kaali/pico8-mode][pico-8 mode]] for Emacs might be fun. It even includes an overlay to

+ 4 - 4
init.el

@@ -45,7 +45,7 @@
 
        ;;tabs              ; an tab bar for Emacs
        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
        vi-tilde-fringe   ; fringe tildes to mark beyond EOB
        ;;window-select     ; visually switch windows
@@ -63,7 +63,7 @@
        ;;objed             ; text object editing for the innocent
        ;;parinfer          ; turn lisp into python, sort of
        ;;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
@@ -149,7 +149,7 @@
         +dragndrop       ; drag & drop files/images into org buffers
         ;;+hugo            ; use Emacs for hugo blogging
         +jupyter         ; ipython/jupyter support for babel
-        ;;+pandoc          ; export-with-pandoc support
+        +pandoc          ; export-with-pandoc support
         ;;+pomodoro        ; be fruitful with the tomato technique
         ;;+present)        ; using org-mode for presentations
         )
@@ -180,7 +180,7 @@
        ;;(wanderlust +gmail)
 
        :app
-       ;;calendar
+       calendar
        ;;irc               ; how neckbeards socialize
        ;;(rss +org)        ; emacs as an RSS reader
        ;;twitter           ; twitter client https://twitter.com/vnought