From 1e72776578952a5c230a4daa49a71464073a93cf Mon Sep 17 00:00:00 2001
From: Aryadev Chavali <aryadev@aryadevchavali.com>
Date: Sun, 15 Oct 2023 00:04:02 +0100
Subject: (Emacs|NeoVim|Shell)~small changes and minor updates

---
 Emacs/.config/emacs/config.org                      | 16 ++++++++--------
 Emacs/.config/emacs/core.org                        |  3 ++-
 Emacs/.config/emacs/early-init.el                   |  2 +-
 Emacs/.config/emacs/elisp/personal-primary-theme.el |  3 ++-
 4 files changed, 13 insertions(+), 11 deletions(-)

(limited to 'Emacs')

diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 0460865..31b31f3 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -615,9 +615,9 @@ Ripgrep is a Rust program that attempts to perform better than grep,
 and it actually does.  This is because of a set of optimisations, such
 as checking the =.gitignore= to exclude certain files from being
 searched.  The ripgrep package provides utilities to ripgrep projects
-and files for strings.  Though [[*Ivy][ivy]] comes with ~counsel-rg~, it uses
-Ivy's completion framework rather than the ~compilation~ style
-buffers, which sometimes proves very useful.
+and files for strings.  Though [[file:core.org::*Ivy][ivy]] comes with
+~counsel-rg~, it uses Ivy's completion framework rather than the
+~compilation~ style buffers, which sometimes proves very useful.
 
 Of course, this requires installing the rg binary which is available
 in most repositories nowadays.
@@ -669,7 +669,7 @@ focus on a buffer.
   (mode-leader
     "o" #'+olivetti-mode)
   :init
-  (setq-default olivetti-body-width 0.6)
+  (setq-default olivetti-body-width 0.7)
   (setq olivetti-style nil)
   (add-hook 'olivetti-mode-on-hook  (proc (interactive) (text-scale-increase 1)))
   (add-hook 'olivetti-mode-off-hook (proc (interactive) (text-scale-decrease 1)))
@@ -1082,7 +1082,7 @@ Org is, at its most basic, a markup language.  Files use the ".org"
 extension and use =org-mode= to write text, with the ability to export
 to a few formats, all within Emacs.  Some other features include:
 + A complete spreadsheet system, with formulas (including
-  [[*Calculator][calc-mode]] integration)
+  [[file:app.org::*Calculator][calc-mode]] integration)
 + Evaluation of code blocks, even using the results of them in exports
   (to, say, a $\LaTeX$ or HTML document)
   + This includes exporting code blocks to a code file.  All the
@@ -1092,8 +1092,8 @@ to a few formats, all within Emacs.  Some other features include:
   repeaters
 + Export to a variety of formats or make your own export engine using
   the org AST!
-  + Writing latex in document, with ability to render them on demand,
-    and exporting to PDFs through Latex
++ Writing $\LaTeX$ inline, with the ability to render the fragments on
+  demand
 ** Org Essentials
 Org has a ton of settings to tweak, which change your experience quite
 a bit.  My setup should be as portable as possible and (/sometimes/) I
@@ -1159,7 +1159,7 @@ for latex fragments.
                                  (caml "ocaml"))
         org-latex-packages-alist '(("" "minted"))
         org-latex-pdf-process
-        '("latexmk -pdfxe -bibtex -f -shell-escape %f")
+        '("latexmk -f -bibtex -pdf -shell-escape -%latex -interaction=nonstopmode -output-directory=%o %f")
         org-latex-minted-options '(("style" "colorful")
                                    ("linenos")
                                    ("frame" "single")
diff --git a/Emacs/.config/emacs/core.org b/Emacs/.config/emacs/core.org
index 687b226..83037f6 100644
--- a/Emacs/.config/emacs/core.org
+++ b/Emacs/.config/emacs/core.org
@@ -121,7 +121,8 @@ Some bindings that I couldn't fit elsewhere easily.
 
   (nmmap
     "C--" #'text-scale-decrease
-    "C-=" #'text-scale-increase)
+    "C-=" #'text-scale-increase
+    "C-+" #'text-scale-adjust)
 
   (leader
     "SPC" '(execute-extended-command :which-key "M-x")
diff --git a/Emacs/.config/emacs/early-init.el b/Emacs/.config/emacs/early-init.el
index 8222343..dd0be9a 100644
--- a/Emacs/.config/emacs/early-init.el
+++ b/Emacs/.config/emacs/early-init.el
@@ -35,5 +35,5 @@
 (push '(menu-bar-lines . 0) default-frame-alist)
 (push '(tool-bar-lines . 0) default-frame-alist)
 (push '(vertical-scroll-bars) default-frame-alist)
-(push '(alpha . 90) default-frame-alist)
+(push '(alpha . 85) default-frame-alist)
 (advice-add #'x-apply-session-resources :override #'ignore)
diff --git a/Emacs/.config/emacs/elisp/personal-primary-theme.el b/Emacs/.config/emacs/elisp/personal-primary-theme.el
index 678c447..8bb433c 100644
--- a/Emacs/.config/emacs/elisp/personal-primary-theme.el
+++ b/Emacs/.config/emacs/elisp/personal-primary-theme.el
@@ -55,7 +55,8 @@
  '(company-preview ((((background light)) (:inherit (company-tooltip-selection company-tooltip))) (((background dark)) (:foreground "wheat" :background "blue4"))))
  '(company-preview-common ((t (:inherit company-preview :foreground "grey"))))
  '(org-block ((t (:background "gray3" :inherit shadow))))
- '(eshell-prompt ((t (:foreground "deep sky blue" :weight bold))))
+ '(eshell-prompt ((t (:foreground "turquoise3" :weight bold))))
+ '(eshell-ls-directory ((t (:foreground "DeepSkyBlue3" :weight bold))))
  '(whitespace-tab ((t (:background "gray5" :foreground "gray20"))))
  '(whitespace-space ((t (:background "gray2" :foreground "darkgray"))))
  '(whitespace-line ((t (:background "black" :foreground "violet"))))
-- 
cgit v1.2.3-13-gbd6f