("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
(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
#+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.
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