Eiyeron Fulmincendii пре 6 година
родитељ
комит
67bdfeb9a0
1 измењених фајлова са 13 додато и 1 уклоњено
  1. 13 1
      config.org

+ 13 - 1
config.org

@@ -202,6 +202,18 @@ kind of resource links.
                        (t (all-the-icons-icon-for-file link)))))))
     (add-hook 'org-brain-after-resource-button-functions #'org-brain-insert-resource-icon))
 #+END_SRC
+** TODO Convenience narrow keybindings
+Here's some keybindings vaguely inspired from my experience with Spacemacs.
+#+BEGIN_SRC emacs-lisp
+(map! :mode org-mode
+      :leader
+      ;; Narrow
+      :desc "Narrow to subtree" "mNs" #'org-narrow-to-subtree
+      :desc "Toggle subtree narrowing" "mNt" #'org-toggle-narrow-to-subtree
+      :desc "Narrow to element" "mNe" #'org-narrow-to-element
+      :desc "Narrow to element" "mNb" #'org-narrow-to-block
+      :desc "Widen" "mNw" #'widen)
+#+END_SRC
 * Blog writing
 I have a [[https://retroactive.me][blog]]. I want to use emacs as my platform to type bits and bobs on it.
 
@@ -396,7 +408,7 @@ more Doom Emacs' documentation to figure how and where to scope the mapping.
       :leader
       :desc "Everything" "sE" #'chicken/search-everything)
 #+END_SRC
-* TODO Character insertion
+* PROJ Character insertion
 ** STRT Basic principle
 #+BEGIN_SRC emacs-lisp
 ;; Note, I could build the list by concating the character's unicode name and itself.