]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Don't ask about following symlinks
[config.org.git] / config.org
index 0ae79f5cf93bd59d4c09e8ed55bc6a39f51cdd56..8360634a832776c859ea02c3e30f14bbcf63097c 100644 (file)
@@ -219,16 +219,10 @@ tpope prevails!
                 ("gc" . evilnc-comment-or-uncomment-lines))
     :custom (evilnc-invert-comment-line-by-line nil))
 #+end_src
-** Undo tree
-Fix the oopsies! Maybe replace with undo-fu or Emacs 28 built in undo-redo.
+** Undo redo
+Fix the oopsies!
 #+begin_src emacs-lisp
-  (use-package undo-tree
-    :custom
-    (undo-tree-auto-save-history t)
-    (undo-tree-history-directory-alist '(("." . "~/.emacs.d/undo-tree")))
-    :config
-    (global-undo-tree-mode)
-    (evil-set-undo-system 'undo-tree))
+  (evil-set-undo-system 'undo-tree)
 #+end_src
 ** Number incrementing
 Add back C-a/C-x
@@ -293,7 +287,8 @@ Add back C-a/C-x
     (add-to-list 'org-structure-template-alist '("ipy" . "src python :tangle ~/.ipython/"))
     (add-to-list 'org-structure-template-alist '("pi" . "src conf :tangle ~/.config/picom/picom.conf"))
     (add-to-list 'org-structure-template-alist '("git" . "src conf :tangle ~/.gitconfig"))
-    (add-to-list 'org-structure-template-alist '("du" . "src conf :tangle ~/.config/dunst/dunstrc")))
+    (add-to-list 'org-structure-template-alist '("du" . "src conf :tangle ~/.config/dunst/dunstrc"))
+    (add-to-list 'org-structure-template-alist '("ro" . "src plain :tangle ~/.config/rofi/config.rasi")))
 #+end_src
 * Autocompletion
 ** Ivy
@@ -680,6 +675,10 @@ Abbreviate things!
 #+begin_src emacs-lisp
   (setq tramp-default-method "ssh")
 #+end_src
+** Don't ask about following symlinks in vc
+#+begin_src emacs-lisp
+  (setq vc-follow-symlinks t)
+#+end_src
 * Functions
 ** Easily convert splits
 Converts splits from horizontal to vertical and vice versa. Lifted from EmacsWiki.
@@ -1426,3 +1425,15 @@ Lightweight notification daemon.
   highlight = "#777777"
   timeout = 0
 #+end_src
+** Rofi
+Modus vivendi theme that extends DarkBlue.
+#+begin_src plain :tangle ~/.config/rofi/config.rasi
+@import "/usr/share/rofi/themes/DarkBlue.rasi"
+ * {
+    selected-normal-foreground:  rgba ( 0, 0, 0, 100 % );
+    foreground:                  rgba ( 255, 255, 255, 100 % );
+    background:                  rgba ( 0, 0, 0, 100 % );
+    lightfg:                     rgba ( 255, 255, 255, 100 % );
+    selected-normal-background:  rgba ( 255, 255, 255, 100 % );
+}
+#+end_src