(Emacs|NeoVim|Shell)~small changes and minor updates
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -17,4 +17,3 @@ TAGS
|
||||
/Emacs/.config/emacs/eln-cache/
|
||||
/Emacs/.config/emacs/core.el
|
||||
/Emacs/.config/emacs/app.el
|
||||
/Emacs/.config/emacs/archive/
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"))))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user