Minor edits.

This commit is contained in:
Derek Taylor
2020-10-17 18:04:49 -05:00
parent d89e71a4af
commit eac13c0169
5 changed files with 44 additions and 19 deletions

View File

@@ -712,6 +712,8 @@ awful.rules.rules = {
{ rule = { class = "Xfce4-settings-manager" },
properties = { floating = false } },
{ rule = { instance = "qutebrowser" },
properties = { screen = 1, tag = " SYS " } },
-- Floating clients.

View File

@@ -22,6 +22,9 @@
org-default-notes-file (expand-file-name "notes.org" org-directory)
org-ellipsis ""
org-log-done 'time
org-journal-dir "~/Org/journal/"
org-journal-date-format "%B %d, %Y (%A)"
org-journal-file-format "%Y-%m-%d.org"
;; ex. of org-link-abbrev-alist in action
;; [[arch-wiki:Name_of_Page][Description]]
org-link-abbrev-alist
@@ -69,12 +72,6 @@
:desc "Previous tab"
"t p" #'centaur-tabs-backward)
(after! neotree
(setq neo-smart-open t
neo-window-fixed-size nil))
(after! doom-themes
(setq doom-neotree-enable-variable-pitch t))
(require 'ox-groff)
(map! :leader
@@ -113,6 +110,17 @@
(kbd "k") 'peep-dired-prev-file)
(add-hook 'peep-dired-hook 'evil-normalize-keymaps)
(after! neotree
(setq neo-smart-open t
neo-window-fixed-size nil))
(after! doom-themes
(setq doom-neotree-enable-variable-pitch t))
(require 'sublimity-scroll)
(require 'sublimity-map)
;; (require 'sublimity-attractive)
(sublimity-mode 0)
(setq browse-url-browser-function 'eww-browse-url)
(use-package emms

View File

@@ -40,7 +40,7 @@ I have toggled display-line-numbers-type so I have line numbers displayed. I al
#+END_SRC
* ORG MODE
Note that I wrapped most of this in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults.
Note that I wrapped most of this in (after! org). Without this, my settings might be evaluated too early, which will result in my settings being overwritten by Doom's defaults. I have also enabled org-journal by adding (+journal) to the org section of Doom Emacs' init.el.
#+BEGIN_SRC emacs-lisp
(after! org
@@ -49,6 +49,9 @@ Note that I wrapped most of this in (after! org). Without this, my settings migh
org-default-notes-file (expand-file-name "notes.org" org-directory)
org-ellipsis ""
org-log-done 'time
org-journal-dir "~/Org/journal/"
org-journal-date-format "%B %d, %Y (%A)"
org-journal-file-format "%Y-%m-%d.org"
;; ex. of org-link-abbrev-alist in action
;; [[arch-wiki:Name_of_Page][Description]]
org-link-abbrev-alist
@@ -124,17 +127,6 @@ To use tabs in Doom Emacs, be sure to uncomment "tabs" in Doom's init.el. Displ
"t p" #'centaur-tabs-backward)
#+END_SRC
* NEOTREE
When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable.
#+BEGIN_SRC emacs-lisp
(after! neotree
(setq neo-smart-open t
neo-window-fixed-size nil))
(after! doom-themes
(setq doom-neotree-enable-variable-pitch t))
#+END_SRC
* MANPAGES
#+BEGIN_SRC emacs-lisp
@@ -205,6 +197,27 @@ Image previews in dired
(add-hook 'peep-dired-hook 'evil-normalize-keymaps)
#+END_SRC
* FILE TREE VIEWER (Neotree)
When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable.
#+BEGIN_SRC emacs-lisp
(after! neotree
(setq neo-smart-open t
neo-window-fixed-size nil))
(after! doom-themes
(setq doom-neotree-enable-variable-pitch t))
#+END_SRC
* SUBLIMITY
The sublimity extension offers Sublime-like smooth scrolling and an experimental minimap. You can also require sublimity-attractive if you want to center everything for a distraction-free mode. I do not use this extension, hence the reason I have sublimity-mode set to 0. Set this to 1 to enable it.
#+BEGIN_SRC emacs-lisp
(require 'sublimity-scroll)
(require 'sublimity-map)
;; (require 'sublimity-attractive)
(sublimity-mode 0)
#+END_SRC
* BROWSER (eww)
Set urls to open in a specific browser. I set this to use Emacs' own browser (eww).

View File

@@ -144,7 +144,8 @@
;;nim ; python + lisp at the speed of c
;;nix ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
org ; organize your plain life in plain text
(org ; organize your plain life in plain text
+journal)
php ; perl's insecure younger brother
;;plantuml ; diagrams for confusing people more
;;purescript ; javascript, but functional

View File

@@ -58,6 +58,7 @@
(package! org-bullets)
(package! peep-dired)
(package! rainbow-mode)
(package! sublimity)
(package! tldr)
(package! treemacs)
(package! wc-mode)