diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 00:04:02 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-15 00:08:25 +0100 |
commit | 1e72776578952a5c230a4daa49a71464073a93cf (patch) | |
tree | 331c14fcaf32f67bf28168c12054c10e879fd0c8 | |
parent | 2ddb3bd2ef49be54baf5dcbdccf8caa8efb46d3d (diff) | |
download | dotfiles-1e72776578952a5c230a4daa49a71464073a93cf.tar.gz dotfiles-1e72776578952a5c230a4daa49a71464073a93cf.tar.bz2 dotfiles-1e72776578952a5c230a4daa49a71464073a93cf.zip |
(Emacs|NeoVim|Shell)~small changes and minor updates
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Emacs/.config/emacs/config.org | 16 | ||||
-rw-r--r-- | Emacs/.config/emacs/core.org | 3 | ||||
-rw-r--r-- | Emacs/.config/emacs/early-init.el | 2 | ||||
-rw-r--r-- | Emacs/.config/emacs/elisp/personal-primary-theme.el | 3 | ||||
-rw-r--r-- | NeoVim/.config/nvim/init.vim | 4 | ||||
-rw-r--r-- | Shell/.zprofile | 2 |
7 files changed, 17 insertions, 14 deletions
@@ -17,4 +17,3 @@ TAGS /Emacs/.config/emacs/eln-cache/ /Emacs/.config/emacs/core.el /Emacs/.config/emacs/app.el -/Emacs/.config/emacs/archive/ 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")))) diff --git a/NeoVim/.config/nvim/init.vim b/NeoVim/.config/nvim/init.vim index d87a85a..14c5131 100644 --- a/NeoVim/.config/nvim/init.vim +++ b/NeoVim/.config/nvim/init.vim @@ -20,6 +20,7 @@ Plugin 'junegunn/fzf.vim' Plugin 'godlygeek/tabular' Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-surround' +Plugin 'altercation/vim-colors-solarized' call vundle#end() @@ -48,7 +49,8 @@ let mapleader = ' ' "" Theming - +set background=dark +colorscheme koehler "" Dir Config let g:NERDTreeHijackNetrw = 1 diff --git a/Shell/.zprofile b/Shell/.zprofile index 670cb45..536b63d 100644 --- a/Shell/.zprofile +++ b/Shell/.zprofile @@ -10,7 +10,7 @@ export XDG_RUNTIME_DIR=/run/user/`id -u` export EDITOR='emacsclient -a "emacs" -c' export EA_EDITOR=$EDITOR export TERMINAL="alacritty" -export BROWSER="chromium" +export BROWSER="firefox" export WEBKIT_FORCE_SANDBOX=0 export PF_INFO="ascii title os memory uptime editor wm shell" export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin/vendor_perl/:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin" |