(Emacs|NeoVim|Shell)~small changes and minor updates

This commit is contained in:
2023-10-15 00:04:02 +01:00
parent 2ddb3bd2ef
commit 1e72776578
7 changed files with 17 additions and 14 deletions

1
.gitignore vendored
View File

@@ -17,4 +17,3 @@ TAGS
/Emacs/.config/emacs/eln-cache/ /Emacs/.config/emacs/eln-cache/
/Emacs/.config/emacs/core.el /Emacs/.config/emacs/core.el
/Emacs/.config/emacs/app.el /Emacs/.config/emacs/app.el
/Emacs/.config/emacs/archive/

View File

@@ -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 and it actually does. This is because of a set of optimisations, such
as checking the =.gitignore= to exclude certain files from being as checking the =.gitignore= to exclude certain files from being
searched. The ripgrep package provides utilities to ripgrep projects searched. The ripgrep package provides utilities to ripgrep projects
and files for strings. Though [[*Ivy][ivy]] comes with ~counsel-rg~, it uses and files for strings. Though [[file:core.org::*Ivy][ivy]] comes with
Ivy's completion framework rather than the ~compilation~ style ~counsel-rg~, it uses Ivy's completion framework rather than the
buffers, which sometimes proves very useful. ~compilation~ style buffers, which sometimes proves very useful.
Of course, this requires installing the rg binary which is available Of course, this requires installing the rg binary which is available
in most repositories nowadays. in most repositories nowadays.
@@ -669,7 +669,7 @@ focus on a buffer.
(mode-leader (mode-leader
"o" #'+olivetti-mode) "o" #'+olivetti-mode)
:init :init
(setq-default olivetti-body-width 0.6) (setq-default olivetti-body-width 0.7)
(setq olivetti-style nil) (setq olivetti-style nil)
(add-hook 'olivetti-mode-on-hook (proc (interactive) (text-scale-increase 1))) (add-hook 'olivetti-mode-on-hook (proc (interactive) (text-scale-increase 1)))
(add-hook 'olivetti-mode-off-hook (proc (interactive) (text-scale-decrease 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 extension and use =org-mode= to write text, with the ability to export
to a few formats, all within Emacs. Some other features include: to a few formats, all within Emacs. Some other features include:
+ A complete spreadsheet system, with formulas (including + 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 + Evaluation of code blocks, even using the results of them in exports
(to, say, a $\LaTeX$ or HTML document) (to, say, a $\LaTeX$ or HTML document)
+ This includes exporting code blocks to a code file. All the + 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 repeaters
+ Export to a variety of formats or make your own export engine using + Export to a variety of formats or make your own export engine using
the org AST! the org AST!
+ Writing latex in document, with ability to render them on demand, + Writing $\LaTeX$ inline, with the ability to render the fragments on
and exporting to PDFs through Latex demand
** Org Essentials ** Org Essentials
Org has a ton of settings to tweak, which change your experience quite 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 a bit. My setup should be as portable as possible and (/sometimes/) I
@@ -1159,7 +1159,7 @@ for latex fragments.
(caml "ocaml")) (caml "ocaml"))
org-latex-packages-alist '(("" "minted")) org-latex-packages-alist '(("" "minted"))
org-latex-pdf-process 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") org-latex-minted-options '(("style" "colorful")
("linenos") ("linenos")
("frame" "single") ("frame" "single")

View File

@@ -121,7 +121,8 @@ Some bindings that I couldn't fit elsewhere easily.
(nmmap (nmmap
"C--" #'text-scale-decrease "C--" #'text-scale-decrease
"C-=" #'text-scale-increase) "C-=" #'text-scale-increase
"C-+" #'text-scale-adjust)
(leader (leader
"SPC" '(execute-extended-command :which-key "M-x") "SPC" '(execute-extended-command :which-key "M-x")

View File

@@ -35,5 +35,5 @@
(push '(menu-bar-lines . 0) default-frame-alist) (push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist) (push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) 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) (advice-add #'x-apply-session-resources :override #'ignore)

View File

@@ -55,7 +55,8 @@
'(company-preview ((((background light)) (:inherit (company-tooltip-selection company-tooltip))) (((background dark)) (:foreground "wheat" :background "blue4")))) '(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")))) '(company-preview-common ((t (:inherit company-preview :foreground "grey"))))
'(org-block ((t (:background "gray3" :inherit shadow)))) '(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-tab ((t (:background "gray5" :foreground "gray20"))))
'(whitespace-space ((t (:background "gray2" :foreground "darkgray")))) '(whitespace-space ((t (:background "gray2" :foreground "darkgray"))))
'(whitespace-line ((t (:background "black" :foreground "violet")))) '(whitespace-line ((t (:background "black" :foreground "violet"))))

View File

@@ -20,6 +20,7 @@ Plugin 'junegunn/fzf.vim'
Plugin 'godlygeek/tabular' Plugin 'godlygeek/tabular'
Plugin 'tpope/vim-commentary' Plugin 'tpope/vim-commentary'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'altercation/vim-colors-solarized'
call vundle#end() call vundle#end()
@@ -48,7 +49,8 @@ let mapleader = ' '
"" Theming "" Theming
set background=dark
colorscheme koehler
"" Dir Config "" Dir Config
let g:NERDTreeHijackNetrw = 1 let g:NERDTreeHijackNetrw = 1

View File

@@ -10,7 +10,7 @@ export XDG_RUNTIME_DIR=/run/user/`id -u`
export EDITOR='emacsclient -a "emacs" -c' export EDITOR='emacsclient -a "emacs" -c'
export EA_EDITOR=$EDITOR export EA_EDITOR=$EDITOR
export TERMINAL="alacritty" export TERMINAL="alacritty"
export BROWSER="chromium" export BROWSER="firefox"
export WEBKIT_FORCE_SANDBOX=0 export WEBKIT_FORCE_SANDBOX=0
export PF_INFO="ascii title os memory uptime editor wm shell" 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" 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"