Nicer home page
This commit is contained in:
parent
6bdccb68da
commit
a1339e9d0a
26
bash.org
26
bash.org
@ -48,6 +48,10 @@
|
||||
# Line wrap on window resize
|
||||
shopt -s checkwinsize
|
||||
|
||||
# Enable history expansion with space
|
||||
# E.g. typing !!<space> will replace the !! with your last command
|
||||
bind Space:magic-space
|
||||
|
||||
# Expand Aliases
|
||||
shopt -s expand_aliases
|
||||
|
||||
@ -56,6 +60,9 @@
|
||||
|
||||
# Enable history appending instead of overwriting
|
||||
shopt -s histappend
|
||||
|
||||
# Save multi-line commands as one command
|
||||
shopt -s cmdhist
|
||||
#+END_SRC
|
||||
|
||||
** Prompt - =PS1=
|
||||
@ -204,9 +211,20 @@ https://doronbehar.com/articles/using-kdeconnect-to-comfortably-send-sms-message
|
||||
Undocumented feature which sets the size to "unlimited". http://stackoverflow.com/questions/9457233/unlimited-bash-history
|
||||
|
||||
#+BEGIN_SRC bash
|
||||
export HISTFILESIZE=
|
||||
export HISTSIZE=
|
||||
export HISTTIMEFORMAT="[%F %T] "
|
||||
# Huge history. Doesn't appear to slow things down, so why not?
|
||||
HISTSIZE=500000
|
||||
HISTFILESIZE=100000
|
||||
|
||||
# Avoid duplicate entries
|
||||
HISTCONTROL="erasedups:ignoreboth"
|
||||
|
||||
# Don't record some commands
|
||||
export HISTIGNORE="&:[ ]*:exit:ls:bg:fg:history:clear"
|
||||
|
||||
# Use standard ISO 8601 timestamp
|
||||
# %F equivalent to %Y-%m-%d
|
||||
# %T equivalent to %H:%M:%S (24-hours format)
|
||||
HISTTIMEFORMAT='%F %T '
|
||||
#+END_SRC
|
||||
|
||||
Change the file location because certain bash sessions truncate =.bash_history= file upon close. http://superuser.com/questions/575479/bash-history-truncated-to-500-lines-on-each-login
|
||||
@ -312,7 +330,7 @@ This is important for termite to work when sshing in remote machines.
|
||||
PATH=$HOME/appimages:$PATH
|
||||
PATH=$HOME/.gem/ruby/2.5.0/bin:$PATH
|
||||
PATH=$GOPATH:$GOPATH/bin:$PATH
|
||||
PATH=~/.emacs.d/bin:$PATH
|
||||
PATH=~/.config/emacs/bin:$PATH
|
||||
export PATH
|
||||
#+END_SRC
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer><family>SauceCodePro Nerd Font Mono</family></prefer>
|
||||
<prefer><family>Hack Nerd Font Mono</family></prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:19 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Bash Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -153,6 +153,10 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Line wrap on window resize</span>
|
||||
<span class="org-builtin">shopt</span> -s checkwinsize
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history expansion with space</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">E.g. typing !!<space> will replace the !! with your last command</span>
|
||||
<span class="org-builtin">bind</span> Space:magic-space
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Expand Aliases</span>
|
||||
<span class="org-builtin">shopt</span> -s expand_aliases
|
||||
|
||||
@ -161,6 +165,9 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Enable history appending instead of overwriting</span>
|
||||
<span class="org-builtin">shopt</span> -s histappend
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Save multi-line commands as one command</span>
|
||||
<span class="org-builtin">shopt</span> -s cmdhist
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -263,7 +270,7 @@ xhost +local:root > /dev/null <span class="org-highlight-numbers-number">2</s
|
||||
<h4 id="org716962c"><code>colors</code> - Display colors</h4>
|
||||
<div class="outline-text-4" id="text-org716962c">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-function-name">colors</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<pre class="src src-bash"> colors<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-builtin">local</span> fgc bgc vals seq0
|
||||
|
||||
<span class="org-builtin">printf</span> <span class="org-string">"Color escapes are %s\n"</span> <span class="org-string">'\e[${value};...;${value}m'</span>
|
||||
@ -366,7 +373,7 @@ small enough for one screen.
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-function-name">sms</span><span class="org-rainbow-delimiters-depth-1">(){</span>
|
||||
<pre class="src src-bash"> sms<span class="org-rainbow-delimiters-depth-1">(){</span>
|
||||
<span class="org-builtin">local</span> <span class="org-variable-name">args</span>=<span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">@</span></span><span class="org-string">"</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">local phone_number name phone_type</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">khard phone --parsable | sort -u | fzf | IFS=$'\t' read -r phone_number name phone_type</span>
|
||||
@ -393,9 +400,20 @@ Undocumented feature which sets the size to “unlimited”. <a href="ht
|
||||
</p>
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-builtin">export</span> <span class="org-variable-name">HISTFILESIZE</span>=
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">HISTSIZE</span>=
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">"[%F %T] "</span>
|
||||
<pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Huge history. Doesn't appear to slow things down, so why not?</span>
|
||||
<span class="org-variable-name">HISTSIZE</span>=<span class="org-highlight-numbers-number">500000</span>
|
||||
<span class="org-variable-name">HISTFILESIZE</span>=<span class="org-highlight-numbers-number">100000</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Avoid duplicate entries</span>
|
||||
<span class="org-variable-name">HISTCONTROL</span>=<span class="org-string">"erasedups:ignoreboth"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Don't record some commands</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">HISTIGNORE</span>=<span class="org-string">"&:[ ]*:exit:ls:bg:fg:history:clear"</span>
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Use standard ISO 8601 timestamp</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">%F equivalent to %Y-%m-%d</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">%T equivalent to %H:%M:%S (24-hours format)</span>
|
||||
<span class="org-variable-name">HISTTIMEFORMAT</span>=<span class="org-string">'%F %T '</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -573,7 +591,7 @@ This is important for termite to work when sshing in remote machines.
|
||||
<pre class="src src-bash"> <span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/appimages:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">HOME</span>/.gem/ruby/2.5.0/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=$<span class="org-variable-name">GOPATH</span>:$<span class="org-variable-name">GOPATH</span>/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/.emacs.d/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-variable-name">PATH</span>=~/.config/emacs/bin:$<span class="org-variable-name">PATH</span>
|
||||
<span class="org-builtin">export</span> PATH
|
||||
</pre>
|
||||
</div>
|
||||
@ -673,7 +691,7 @@ Don’t echo <code>^C</code> after <code>Ctrl+C</code> is pressed.
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:19</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:25 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Configuration Files</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -95,7 +95,7 @@ Host nas
|
||||
</alias>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer><family>SauceCodePro Nerd Font Mono</family></prefer>
|
||||
<prefer><family>Hack Nerd Font Mono</family></prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
||||
@ -235,7 +235,7 @@ Colors
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:25</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
2
docs/dist/style.css
vendored
2
docs/dist/style.css
vendored
File diff suppressed because one or more lines are too long
112
docs/doom.html
112
docs/doom.html
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:08 -->
|
||||
<!-- 2021-01-03 dim. 22:19 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Doom Emacs Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -53,7 +53,7 @@
|
||||
<ul>
|
||||
<li><a href="#org9a192de">Org General Config</a></li>
|
||||
<li><a href="#org9c78e0f">Org Inline Images</a></li>
|
||||
<li><a href="#org209377c">Org Links</a></li>
|
||||
<li><a href="#org08aba47">Org Links</a></li>
|
||||
<li><a href="#org06d5c9f">Org Tagging</a></li>
|
||||
<li><a href="#org82e8603">Org Refile</a></li>
|
||||
<li><a href="#org4e35a03">Org TODO</a></li>
|
||||
@ -97,7 +97,7 @@
|
||||
<li><a href="#org90e8b2b">Render Tables</a></li>
|
||||
<li><a href="#orgab67420">Org Special Block Extras</a></li>
|
||||
<li><a href="#org7adfc1c">Org Inline Task</a></li>
|
||||
<li><a href="#org08aba47">Org Links</a>
|
||||
<li><a href="#orga4f41d0">Org Links</a>
|
||||
<ul>
|
||||
<li><a href="#orgd172897">Youtube Links</a></li>
|
||||
</ul>
|
||||
@ -151,7 +151,7 @@
|
||||
</li>
|
||||
<li><a href="#org5722bd7">LaTeX</a>
|
||||
<ul>
|
||||
<li><a href="#org239859d">Basic Config</a></li>
|
||||
<li><a href="#orgebf93bf">Basic Config</a></li>
|
||||
<li><a href="#orge71a16b">Bibtex</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@ -169,7 +169,7 @@
|
||||
<li><a href="#orgafab721">Resources</a></li>
|
||||
<li><a href="#org2b8b75f">Cheatsheet</a></li>
|
||||
<li><a href="#orgebf9129">Helping function</a></li>
|
||||
<li><a href="#orgebf93bf">Basic Config</a></li>
|
||||
<li><a href="#orgec0e33d">Basic Config</a></li>
|
||||
<li><a href="#org7c3d72b">Additional config</a></li>
|
||||
<li><a href="#org716f5e2">Provide Information</a></li>
|
||||
<li><a href="#org48a7840">Receiving emails using mbsync</a></li>
|
||||
@ -676,7 +676,7 @@ Turn off auto-fill mode that add line breaks.
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">turn off auto-fill for org-mode</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">org-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-off-auto-fill</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> auctex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-variable-name">latex-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-off-auto-fill</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">add-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">latex-mode-hook</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">turn-off-auto-fill</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -924,9 +924,9 @@ Display the real size of images and not the one set with <code>attr_latex: :widt
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org209377c" class="outline-3">
|
||||
<h3 id="org209377c">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-org209377c">
|
||||
<div id="outline-container-org08aba47" class="outline-3">
|
||||
<h3 id="org08aba47">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-org08aba47">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-link-abbrev-alist</span>
|
||||
@ -1220,16 +1220,16 @@ Org Agenda Custom Views
|
||||
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org-agenda
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">appt-message-warning-time</span> <span class="org-highlight-numbers-number">5</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> appt-message-warning-time <span class="org-highlight-numbers-number">5</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-org-agenda-to-appt</span> <span class="org-rainbow-delimiters-depth-3">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">appt-time-msg-list</span> nil<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> appt-time-msg-list nil<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-agenda-to-appt</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">tdh-org-agenda-to-appt</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-comment-delimiter">; </span><span class="org-comment">Display appointments as a window manager notification</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">appt-disp-window-function</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdh-appt-display</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">appt-delete-window-function</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-1">()</span> t<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> appt-disp-window-function <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">tdh-appt-display</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> appt-delete-window-function <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">lambda</span> <span class="org-rainbow-delimiters-depth-1">()</span> t<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> tdh-appt-notification-app <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">getenv</span> <span class="org-string">"HOME"</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"/bin/appt-notification"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-appt-display</span> <span class="org-rainbow-delimiters-depth-3">(</span>min-to-app new-time msg<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
@ -1703,7 +1703,7 @@ Adapt this from <a href="https://github.com/alhassy/emacs.d">https://github.com/
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Don't change the font size for subscripts and superscripts in latex fragments.</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">This cause the orgmode tables not to be well aligned.</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">font-latex-fontify-script</span> nil<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> font-latex-fontify-script nil<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Colors of latex fragments</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-format-latex-options</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">plist-put</span> <span class="org-variable-name">org-format-latex-options</span> <span class="org-builtin">:foreground</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">default</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -2354,9 +2354,9 @@ Special Environments
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org08aba47" class="outline-3">
|
||||
<h3 id="org08aba47">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-org08aba47">
|
||||
<div id="outline-container-orga4f41d0" class="outline-3">
|
||||
<h3 id="orga4f41d0">Org Links</h3>
|
||||
<div class="outline-text-3" id="text-orga4f41d0">
|
||||
</div>
|
||||
<div id="outline-container-orgd172897" class="outline-4">
|
||||
<h4 id="orgd172897">Youtube Links</h4>
|
||||
@ -2937,7 +2937,7 @@ Add all named source blocks to <code>org-babel-library-of-babel</code> (<a href=
|
||||
<div class="outline-text-3" id="text-orge0d9b66">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-babel-matlab-shell-command</span> <span class="org-string">"/home/thomas/.local/bin/matlab -softwareopengl -nodesktop -nosplash"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> org-babel-matlab-shell-command <span class="org-string">"/home/thomas/.local/bin/matlab -softwareopengl -nodesktop -nosplash"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -2947,7 +2947,7 @@ Default options for Matlab code
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> org
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">org-babel-default-header-args:matlab</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> org-babel-default-header-args:matlab
|
||||
<span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-builtin">:results</span> . <span class="org-string">"none"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-builtin">:session</span> . <span class="org-string">"*MATLAB*"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-builtin">:comments</span> . <span class="org-string">"org"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -2985,27 +2985,27 @@ Better format the output results for Matlab (<a href="https://www.reddit.com/r/e
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-string">",*\\s-*\n+"</span> . <span class="org-string">", "</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-comment-delimiter">;</span><span class="org-comment">Concatenate lines</span>
|
||||
body<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
body<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-variable-name">org-babel-octave-eoe-indicator</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
org-babel-octave-eoe-indicator<span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-highlight-quoted-quote">`</span><span class="org-highlight-quoted-symbol">value</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">and</span> matlabp <span class="org-variable-name">org-babel-matlab-with-emacs-link</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">and</span> matlabp org-babel-matlab-with-emacs-link<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">format</span> <span class="org-variable-name">org-babel-matlab-emacs-link-wrapper-method</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">format</span> org-babel-matlab-emacs-link-wrapper-method
|
||||
body
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-babel-process-file-name</span> tmp-file <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">noquote</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">org-babel-process-file-name</span> tmp-file <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">noquote</span><span class="org-rainbow-delimiters-depth-2">)</span> wait-file<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">mapconcat</span>
|
||||
<span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">org-babel-chomp</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">list</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">format</span> <span class="org-variable-name">org-babel-octave-wrapper-method</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">list</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">format</span> org-babel-octave-wrapper-method
|
||||
body
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-babel-process-file-name</span> tmp-file <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">noquote</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-babel-process-file-name</span> tmp-file <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">noquote</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-variable-name">org-babel-octave-eoe-indicator</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>raw <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">and</span> matlabp <span class="org-variable-name">org-babel-matlab-with-emacs-link</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
org-babel-octave-eoe-indicator<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>raw <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">and</span> matlabp org-babel-matlab-with-emacs-link<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">save-window-excursion</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">with-temp-buffer</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">insert</span> full-body<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">write-region</span> <span class="org-string">""</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">ignored</span> wait-file nil nil nil <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">excl</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">matlab-shell-run-region</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point-min</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point-max</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>matlab-shell-run-region <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point-min</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">point-max</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">message</span> <span class="org-string">"Waiting for Matlab Emacs Link"</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">while</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">file-exists-p</span> wait-file<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">sit-for</span> <span class="org-highlight-numbers-number">0.01</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-string">""</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-comment-delimiter">;; </span><span class="org-comment">matlab-shell-run-region doesn't seem to</span>
|
||||
@ -3015,19 +3015,19 @@ Better format the output results for Matlab (<a href="https://www.reddit.com/r/e
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">org-babel-comint-with-output</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>session
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">if</span> matlabp
|
||||
<span class="org-variable-name">org-babel-octave-eoe-indicator</span>
|
||||
<span class="org-variable-name">org-babel-octave-eoe-output</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
org-babel-octave-eoe-indicator
|
||||
org-babel-octave-eoe-output<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
t full-body<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">insert</span> full-body<span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">comint-send-input</span> nil t<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-warning">results</span><span class="org-warning"><span class="org-rainbow-delimiters-depth-1">)</span></span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">pcase</span> result-type
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-quoted-quote">`</span><span class="org-highlight-quoted-symbol">value</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">org-babel-octave-import-elisp-from-file</span> tmp-file<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span>org-babel-octave-import-elisp-from-file tmp-file<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-highlight-quoted-quote">`</span><span class="org-highlight-quoted-symbol">output</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">setq</span> results
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">if</span> matlabp
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">reverse</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">delete</span> <span class="org-string">""</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">mapcar</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">org-strip-quotes</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">mapcar</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">org-trim</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">remove-car-upto-newline</span> raw<span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">member</span> <span class="org-variable-name">org-babel-octave-eoe-output</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">cdr</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">member</span> org-babel-octave-eoe-output
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">reverse</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">mapcar</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">org-strip-quotes</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">mapcar</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">org-trim</span> raw<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">mapconcat</span> <span class="org-highlight-quoted-quote">#'</span><span class="org-highlight-quoted-symbol">identity</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">reverse</span> results<span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"\n"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -3164,7 +3164,7 @@ when inside a source block. Otherwise, keep the normal behavior for <code>ctrl-r
|
||||
<span class="org-doc">"Returns t when the point is inside a source code block"</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string=</span> <span class="org-string">"src"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-in-block-p</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"src"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh-in-src-block-p</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span>tdh-in-src-block-p<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">progn</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-babel-execute-src-block</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-babel-next-src-block</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
@ -3290,7 +3290,7 @@ if no region is selected, it runs all the code blocks and goes to the next block
|
||||
<span class="org-doc">"Returns t when the point is inside a source code block"</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string=</span> <span class="org-string">"src"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-in-block-p</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"src"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh-in-src-block-p</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span>tdh-in-src-block-p<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">let</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>lang <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">nth</span> <span class="org-highlight-numbers-number">0</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-babel-get-src-block-info</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">string=</span> lang <span class="org-string">"matlab"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">region-active-p</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
@ -3324,7 +3324,7 @@ if no region is selected, it runs all the code blocks and goes to the next block
|
||||
<span class="org-doc">"Returns t when the point is inside a source code block"</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string=</span> <span class="org-string">"src"</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-in-block-p</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"src"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-function-name">tdh-in-src-block-p</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span>tdh-in-src-block-p<span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">progn</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">org-edit-special</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">evil-indent</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">point-min</span><span class="org-rainbow-delimiters-depth-2">)</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">point-max</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -3661,16 +3661,16 @@ Create Org-Roam file from heading (<a href="https://ag91.github.io/blog/2020/11/
|
||||
<span class="org-builtin">:init</span>
|
||||
<span class="org-builtin">:config</span>
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Bibliography file</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-bibliography</span> <span class="org-string">"~/Cloud/brain/biblio/references.bib"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-bibliography</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">"~/Cloud/brain/biblio/references.bib"</span>
|
||||
<span class="org-string">"~/Cloud/acoustic/resources/acoustics.bib"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Directory with all the pdfs</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-library-path</span> <span class="org-string">"~/Cloud/pdfs/"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-library-path</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">"~/Cloud/pdfs/"</span>
|
||||
<span class="org-string">"~/Cloud/acoustic/resources/pdfs/"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-comment-delimiter">;; </span><span class="org-comment">Directory with notes files</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-notes-path</span> <span class="org-string">"~/Cloud/brain/"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-notes-extension</span> <span class="org-string">".org"</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-pdf-extension</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span><span class="org-string">".pdf"</span> <span class="org-string">".djvu"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">bibtex-completion-additional-search-fields</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span>keywords<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -3888,9 +3888,9 @@ Provides nice functions such as:
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org239859d" class="outline-3">
|
||||
<h3 id="org239859d">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-org239859d">
|
||||
<div id="outline-container-orgebf93bf" class="outline-3">
|
||||
<h3 id="orgebf93bf">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-orgebf93bf">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">after!</span> auctex
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">+latex-viewers</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-3">(</span>zathura pdf-tools<span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
@ -3924,10 +3924,10 @@ Provides nice functions such as:
|
||||
<h3 id="orga959435">Setup Matlab Mode</h3>
|
||||
<div class="outline-text-3" id="text-orga959435">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">matlab-shell-command</span> <span class="org-string">"/home/thomas/.local/bin/matlab"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">matlab-shell-command-switches</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">list</span> <span class="org-string">"-softwareopengl -nodesktop -nosplash"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> matlab-shell-command <span class="org-string">"/home/thomas/.local/bin/matlab"</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> matlab-shell-command-switches <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">list</span> <span class="org-string">"-softwareopengl -nodesktop -nosplash"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> matlab-indent-function t<span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> <span class="org-variable-name">mlint-programs</span> <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"mlint"</span> <span class="org-string">"/home/thomas/.local/bin/mlint"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">setq</span> mlint-programs <span class="org-highlight-quoted-quote">'</span><span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">"mlint"</span> <span class="org-string">"/home/thomas/.local/bin/mlint"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -3959,7 +3959,7 @@ Provides nice functions such as:
|
||||
<h3 id="orgc8534a9">Completion in the Matlab Shell</h3>
|
||||
<div class="outline-text-3" id="text-orgc8534a9">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"><span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> <span class="org-variable-name">matlab-shell-mode-map</span>
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">map!</span> <span class="org-builtin">:map</span> matlab-shell-mode-map
|
||||
<span class="org-builtin">:i</span> <span class="org-string">"<tab>"</span> <span class="org-highlight-quoted-quote">'</span><span class="org-highlight-quoted-symbol">matlab-shell-tab</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
@ -3977,7 +3977,7 @@ Provides nice functions such as:
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">string=</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">file-name-extension</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">"m"</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-keyword">progn</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">save-buffer</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">concat</span> <span class="org-string">"MBeautify.formatFileNoEditor(\""</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\", \""</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\")"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-constant">concat</span> <span class="org-string">"MBeautify.formatFileNoEditor(\""</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\", \""</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-3">)</span> <span class="org-string">"\")"</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-function-name">revert-buffer</span> <span class="org-builtin">:ignore-auto</span> <span class="org-builtin">:noconfirm</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">message</span> <span class="org-string">"Current buffer is not a matlab file"</span><span class="org-rainbow-delimiters-depth-3">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -3993,31 +3993,31 @@ Provides nice functions such as:
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-add-breakpoint</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstop in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">" at "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">number-to-string</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">line-number-at-pos</span> nil<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstop in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">" at "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">number-to-string</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">line-number-at-pos</span> nil<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-remove-breakpoint</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">" at "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">number-to-string</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">line-number-at-pos</span> nil<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span> <span class="org-string">" at "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">number-to-string</span> <span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">line-number-at-pos</span> nil<span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-list-breakpoints</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstatus "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstatus "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-clear-breakpoints</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear in "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">buffer-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-no-debug-on-error</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear if error"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbclear if error"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-debug-on-error</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstop if error"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"dbstop if error"</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">defun</span> <span class="org-function-name">tdh-matlab-go-to-file-directory</span> <span class="org-rainbow-delimiters-depth-2">()</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-keyword">interactive</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-function-name">matlab-shell-run-command</span> <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"cd "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">file-name-directory</span> <span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<span class="org-rainbow-delimiters-depth-2">(</span>matlab-shell-run-command <span class="org-rainbow-delimiters-depth-3">(</span><span class="org-constant">concat</span> <span class="org-string">"cd "</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-constant">file-name-directory</span> <span class="org-variable-name">buffer-file-name</span><span class="org-rainbow-delimiters-depth-1">)</span><span class="org-rainbow-delimiters-depth-3">)</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
@ -4161,9 +4161,9 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgebf93bf" class="outline-3">
|
||||
<h3 id="orgebf93bf">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-orgebf93bf">
|
||||
<div id="outline-container-orgec0e33d" class="outline-3">
|
||||
<h3 id="orgec0e33d">Basic Config</h3>
|
||||
<div class="outline-text-3" id="text-orgec0e33d">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-emacs-lisp"> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-keyword">use-package!</span> mu4e
|
||||
<span class="org-builtin">:config</span>
|
||||
@ -4549,7 +4549,7 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:08</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:19</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
141
docs/index.html
141
docs/index.html
@ -3,13 +3,14 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 21:59 -->
|
||||
<!-- 2021-01-03 dim. 22:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Dotfiles - Manjaro Linux</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
<script type="text/javascript" src="./dist/script.js"></script>
|
||||
<style> #content {margin: auto;} </style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="org-div-home-and-up">
|
||||
@ -18,29 +19,13 @@
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
<h1 class="title">Dotfiles - Manjaro Linux</h1>
|
||||
<div id="table-of-contents">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#orgd79ce2e">Desktop Configuration</a></li>
|
||||
<li><a href="#org462d26f">Editors</a></li>
|
||||
<li><a href="#org18da288">Command Line</a></li>
|
||||
<li><a href="#org44757cd">Multimedia</a></li>
|
||||
<li><a href="#org4d5c16c">Internet Related</a></li>
|
||||
<li><a href="#org573d686">PDF Reader</a></li>
|
||||
<li><a href="#org868e93b">File Managers</a></li>
|
||||
<li><a href="#org63ac801">Organization</a></li>
|
||||
<li><a href="#orgd2e1086">Others</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
The general installation process is described <a href="install.html">here</a>.
|
||||
The general installation procedure is described <a href="install.html">here</a>.
|
||||
</p>
|
||||
|
||||
<div id="outline-container-orgd79ce2e" class="outline-2">
|
||||
<h2 id="orgd79ce2e">Desktop Configuration</h2>
|
||||
<div class="outline-text-2" id="text-orgd79ce2e">
|
||||
<p>
|
||||
There are Specific configuration files for:
|
||||
</p>
|
||||
<ul class="org-ul">
|
||||
<li><b>Windows Manager</b>: <a href="bspwm.html">BSPWM</a> and <a href="i3.html">I3</a></li>
|
||||
<li><b>Hotkey Manager</b>: <a href="sxhkd.html">SXHKD</a></li>
|
||||
@ -49,101 +34,29 @@ The general installation process is described <a href="install.html">here</a>.
|
||||
<li><b>Compositor</b>: <a href="compositor.html">Picom</a></li>
|
||||
<li><b>Notification Manager</b>: <a href="notifications.html">Dunst</a></li>
|
||||
<li><b>Service Manager</b>: <a href="systemd.html">Systemd</a></li>
|
||||
<li><a href="xconfig.html">X configuration</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org462d26f" class="outline-2">
|
||||
<h2 id="org462d26f">Editors</h2>
|
||||
<div class="outline-text-2" id="text-org462d26f">
|
||||
<ul class="org-ul">
|
||||
<li><a href="vim.html">Vim</a></li>
|
||||
<li><a href="./doom.html">Doom Emacs</a> (<a href="emacs-library-babel.html">library of babel</a>, <a href="emacs-snippets.html">snippets</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org18da288" class="outline-2">
|
||||
<h2 id="org18da288">Command Line</h2>
|
||||
<div class="outline-text-2" id="text-org18da288">
|
||||
<ul class="org-ul">
|
||||
<li><a href="bash.html">Bash</a> and <a href="zsh.html">ZSH</a></li>
|
||||
<li>Terminal: <a href="termite.html">Termite</a></li>
|
||||
<li>Terminal Multiplexer <a href="tmux.html">TMUX</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org44757cd" class="outline-2">
|
||||
<h2 id="org44757cd">Multimedia</h2>
|
||||
<div class="outline-text-2" id="text-org44757cd">
|
||||
<ul class="org-ul">
|
||||
<li><a href="image.html">Image</a></li>
|
||||
<li><a href="music.html">Music</a></li>
|
||||
<li><a href="video.html">Video</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org4d5c16c" class="outline-2">
|
||||
<h2 id="org4d5c16c">Internet Related</h2>
|
||||
<div class="outline-text-2" id="text-org4d5c16c">
|
||||
<ul class="org-ul">
|
||||
<li>Web Browser: <a href="qutebrowser.html">Qutebrowser</a></li>
|
||||
<li>Bookmark Manager: <a href="bookmarks.html">Buku</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org573d686" class="outline-2">
|
||||
<h2 id="org573d686">PDF Reader</h2>
|
||||
<div class="outline-text-2" id="text-org573d686">
|
||||
<ul class="org-ul">
|
||||
<li><a href="zathura.html">Zathura</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org868e93b" class="outline-2">
|
||||
<h2 id="org868e93b">File Managers</h2>
|
||||
<div class="outline-text-2" id="text-org868e93b">
|
||||
<ul class="org-ul">
|
||||
<li>GUI: <a href="pcmanfm.html">Pcmanfm</a></li>
|
||||
<li>Terminal based: <a href="ranger.html">Ranger</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org63ac801" class="outline-2">
|
||||
<h2 id="org63ac801">Organization</h2>
|
||||
<div class="outline-text-2" id="text-org63ac801">
|
||||
<ul class="org-ul">
|
||||
<li><a href="calendar.html">Calendar</a></li>
|
||||
<li><a href="mail.html">Mail</a></li>
|
||||
<li><a href="contacts.html">Contacts</a></li>
|
||||
<li>RSS-Reader: <a href="newsboat.html">Newsboat</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgd2e1086" class="outline-2">
|
||||
<h2 id="orgd2e1086">Others</h2>
|
||||
<div class="outline-text-2" id="text-orgd2e1086">
|
||||
<ul class="org-ul">
|
||||
<li><a href="applications.html">Desktop Applications</a></li>
|
||||
<li><a href="matlab.html">Matlab</a></li>
|
||||
<li>Some useful <a href="binaries.html">Binaries</a></li>
|
||||
<li><a href="git.html">Git</a> Configuration</li>
|
||||
<li><a href="gtk.html">GTK</a></li>
|
||||
<li><b>Display Server</b>: <a href="xconfig.html">Xorg</a></li>
|
||||
<li><b>Editors</b>: <a href="vim.html">Neovim</a> and <a href="./doom.html">Emacs (Doom)</a> (<a href="emacs-library-babel.html">library of babel</a>, <a href="emacs-snippets.html">snippets</a>)</li>
|
||||
<li><b>Shell</b>: <a href="bash.html">Bash</a></li>
|
||||
<li><b>Terminal Emulator</b>: <a href="termite.html">Termite</a></li>
|
||||
<li><b>Terminal Multiplexer</b> <a href="tmux.html">TMUX</a></li>
|
||||
<li><b>Image Setup</b>: <a href="image.html">SXIV</a></li>
|
||||
<li><b>Music Setup</b>: <a href="music.html">NCMPCPP, Mopidy and Beets</a></li>
|
||||
<li><b>Video Setup</b>: <a href="video.html">MPV</a></li>
|
||||
<li><b>Web Browser</b>: <a href="qutebrowser.html">Qutebrowser</a></li>
|
||||
<li><b>PDF Reader</b>: <a href="zathura.html">Zathura</a></li>
|
||||
<li><b>GUI File Manager</b>: <a href="pcmanfm.html">Pcmanfm</a></li>
|
||||
<li><b>Terminal File Manager</b>: <a href="ranger.html">Ranger</a></li>
|
||||
<li><b>Calendar</b>: <a href="calendar.html">Vdirsyncer and Khal</a></li>
|
||||
<li><b>Mails</b>: <a href="mail.html">Mbsync, Msmtp, Mu and Neomutt</a></li>
|
||||
<li><b>Contacts</b>: <a href="contacts.html">Khard</a></li>
|
||||
<li><b>RSS-Reader</b>: <a href="newsboat.html">Newsboat</a></li>
|
||||
<li><b>Version Control</b>: <a href="git.html">Git</a></li>
|
||||
<li><b>Scripts</b>: <a href="binaries.html">Scripts</a></li>
|
||||
<li><b>Desktop Applications</b>: <a href="applications.html">.desktop files</a></li>
|
||||
<li><b>Computation</b>: <a href="matlab.html">Matlab</a></li>
|
||||
<li><b>GUI Toolkit</b>: <a href="gtk.html">GTK</a></li>
|
||||
<li><a href="config.html">Other Config</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 21:59</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
3102
docs/install.html
3102
docs/install.html
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:25 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Music/Sound Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -174,7 +174,7 @@ Sorting by tracking number and then title
|
||||
<div class="outline-text-3" id="text-orga43b7ae">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"> def_key <span class="org-string">"q"</span>
|
||||
run_external_command <span class="org-string">"if [ $TMUX ]; then tmux detach; fi"</span>
|
||||
run_external_command <span class="org-string">"sh -c 'if [ $TMUX ] ; then tmux detach; fi'"</span>
|
||||
def_key <span class="org-string">"Q"</span>
|
||||
quit
|
||||
def_key <span class="org-string">"g"</span>
|
||||
@ -268,7 +268,7 @@ plugins: fromfilename discogs
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:25</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Dunst (Notification Manager)</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -45,6 +45,7 @@
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org5759a6d" class="outline-3">
|
||||
<h3 id="org5759a6d">Display</h3>
|
||||
<div class="outline-text-3" id="text-org5759a6d">
|
||||
@ -2060,7 +2061,7 @@ format = "<b>%s</b">"<b>%s</b></a>\n%b"</span>
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:51</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,9 +3,9 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>PCMANFM</title>
|
||||
<title>PCManFM</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
@ -17,7 +17,7 @@
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
<h1 class="title">PCMANFM</h1>
|
||||
<h1 class="title">PCManFM</h1>
|
||||
<div id="table-of-contents">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
@ -82,7 +82,7 @@
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:51</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:19 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Qutebrowser Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -578,7 +578,7 @@ Org Roam Entry for the current page
|
||||
<div class="outline-text-3" id="text-org38a2899">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Show all password fields in the menu</span>
|
||||
<span class="org-function-name">query_entries</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
query_entries<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">safe queried url for choose_entry</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">the subdomains are removed</span>
|
||||
<span class="org-builtin">export</span> <span class="org-variable-name">queried_url</span>=$<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-sh-quoted-exec">expr</span> match <span class="org-string">".</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">1</span></span><span class="org-string">"</span> <span class="org-string">'.*\.\(.*\..*\)'</span><span class="org-rainbow-delimiters-depth-2">)</span>
|
||||
@ -587,7 +587,7 @@ Org Roam Entry for the current page
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Even if there is only one entry, always show a menu</span>
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">for user confirmation.</span>
|
||||
<span class="org-function-name">choose_entry</span><span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
choose_entry<span class="org-rainbow-delimiters-depth-1">()</span> <span class="org-rainbow-delimiters-depth-1">{</span>
|
||||
<span class="org-variable-name">MENU_COMMAND</span>=<span class="org-rainbow-delimiters-depth-2">(</span>
|
||||
rofi -dmenu
|
||||
-p <span class="org-string">"qutebrowser> "</span>
|
||||
@ -844,7 +844,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> <span class="org-variable-name">filename</span>=$<span class="org-rainbow-delimiters-depth-1">(</span><span class="org-sh-quoted-exec">rofi</span> -p <span class="org-string">"filename"</span> -dmenu -lines <span class="org-highlight-numbers-number">1</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"filename"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-keyword">if</span> <span class="org-rainbow-delimiters-depth-1">[</span> -n <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">"</span> <span class="org-rainbow-delimiters-depth-1">]</span>; <span class="org-keyword">then</span>
|
||||
<span class="org-type">cd</span> ~/Pictures/ && <span class="org-sh-escaped-newline">\</span>
|
||||
percollate pdf --css <span class="org-string">"@page { size: A4 portrait }"</span> --output <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">filename</span></span><span class="org-string">.pdf"</span> <span class="org-string">"</span><span class="org-string"><span class="org-constant">$</span></span><span class="org-string"><span class="org-variable-name">QUTE_URL</span></span><span class="org-string">"</span> && <span class="org-sh-escaped-newline">\</span>
|
||||
dunstify <span class="org-string">"Percollate"</span> <span class="org-string">"Successfully saved to pdf"</span>
|
||||
@ -876,7 +876,7 @@ buku --add <span class="org-string">"</span><span class="org-string"><span class
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:19</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,9 +3,9 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:51 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Ranger Configuration</title>
|
||||
<title>Ranger</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
<meta name="author" content="Dehaeze Thomas" />
|
||||
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
@ -17,7 +17,7 @@
|
||||
|
|
||||
<a accesskey="H" href="./index.html"> HOME </a>
|
||||
</div><div id="content">
|
||||
<h1 class="title">Ranger Configuration</h1>
|
||||
<h1 class="title">Ranger</h1>
|
||||
<div id="table-of-contents">
|
||||
<h2>Table of Contents</h2>
|
||||
<div id="text-table-of-contents">
|
||||
@ -38,7 +38,7 @@
|
||||
</li>
|
||||
<li><a href="#orgd57ea4e">Define keys for the browser</a>
|
||||
<ul>
|
||||
<li><a href="#orgb8bf91c">Basic</a></li>
|
||||
<li><a href="#org5ba4b89">Basic</a></li>
|
||||
<li><a href="#org1c6f91a">Open Shell in current directory</a></li>
|
||||
<li><a href="#orgdf72b75">Open With</a></li>
|
||||
<li><a href="#org8e148cf">Filter</a></li>
|
||||
@ -62,7 +62,7 @@
|
||||
</li>
|
||||
<li><a href="#org7e7a4ec">Define keys for the console</a>
|
||||
<ul>
|
||||
<li><a href="#org5ba4b89">Basic</a></li>
|
||||
<li><a href="#org49c5be5">Basic</a></li>
|
||||
<li><a href="#orga9f3972">Move around</a></li>
|
||||
<li><a href="#org6265874">Line Editing</a></li>
|
||||
</ul>
|
||||
@ -452,9 +452,9 @@ Backup to NAS
|
||||
<h3 id="orgd57ea4e">Define keys for the browser</h3>
|
||||
<div class="outline-text-3" id="text-orgd57ea4e">
|
||||
</div>
|
||||
<div id="outline-container-orgb8bf91c" class="outline-4">
|
||||
<h4 id="orgb8bf91c">Basic</h4>
|
||||
<div class="outline-text-4" id="text-orgb8bf91c">
|
||||
<div id="outline-container-org5ba4b89" class="outline-4">
|
||||
<h4 id="org5ba4b89">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org5ba4b89">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"> map Q quit!
|
||||
map q eval fm.execute_console(<span class="org-string">"shell tmux detach"</span>) if <span class="org-string">'TMUX'</span> in os.environ.keys() else fm.execute_console(<span class="org-string">"quit"</span>)
|
||||
@ -767,9 +767,9 @@ map <span class="org-string">'<any> enter_bookmark %any</span>
|
||||
<h3 id="org7e7a4ec">Define keys for the console</h3>
|
||||
<div class="outline-text-3" id="text-org7e7a4ec">
|
||||
</div>
|
||||
<div id="outline-container-org5ba4b89" class="outline-4">
|
||||
<h4 id="org5ba4b89">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org5ba4b89">
|
||||
<div id="outline-container-org49c5be5" class="outline-4">
|
||||
<h4 id="org49c5be5">Basic</h4>
|
||||
<div class="outline-text-4" id="text-org49c5be5">
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf">cmap <tab> eval fm.ui.console.tab()
|
||||
cmap <s-tab> eval fm.ui.console.tab(-1)
|
||||
@ -1085,7 +1085,7 @@ label wallpaper, number <span class="org-highlight-numbers-number">14</span>, mi
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:51</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:25 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Rofi Configuration</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -142,7 +142,6 @@ kb-cancel: <span class="org-string">"Escape,Control+g"</span>;
|
||||
//// TEXT ////
|
||||
|
||||
font: <span class="org-string">"xos4 Terminus 18px"</span>;
|
||||
// font: <span class="org-string">"Knack Nerd Font 16px"</span>;
|
||||
text-color: @foreground;
|
||||
|
||||
//// PADDING ETC ////
|
||||
@ -274,7 +273,7 @@ element.normal.urgent,
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:25</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -3,7 +3,7 @@
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2021-01-01 ven. 20:09 -->
|
||||
<!-- 2021-01-03 dim. 22:25 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title>Windows Config and Install</title>
|
||||
<meta name="generator" content="Org mode" />
|
||||
@ -26,6 +26,12 @@
|
||||
<li><a href="#org0143940">Install Windows10 PRO</a></li>
|
||||
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
|
||||
<li><a href="#org0a94edb">Debloat windows10</a></li>
|
||||
<li><a href="#orgb2e9259">SSHFS</a>
|
||||
<ul>
|
||||
<li><a href="#org46e6091">SSH Setup</a></li>
|
||||
<li><a href="#org07e3d19">SSHFS</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#orgb8446e0">Software Setup</a>
|
||||
<ul>
|
||||
<li><a href="#orge44d00a">Syncthing</a></li>
|
||||
@ -74,7 +80,7 @@ First install Chocolatey using a PowerShell as administrator:
|
||||
Then, install all required software using one command:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash">choco install firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder syncthing cura ccleaner
|
||||
<pre class="src src-bash"> choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -91,12 +97,102 @@ Then, install all required software using one command:
|
||||
Run a PowerShell with administrative rights and run:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"><span class="org-function-name">iex</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
<pre class="src src-bash"> iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb2e9259" class="outline-2">
|
||||
<h2 id="orgb2e9259">SSHFS</h2>
|
||||
<div class="outline-text-2" id="text-orgb2e9259">
|
||||
</div>
|
||||
<div id="outline-container-org46e6091" class="outline-3">
|
||||
<h3 id="org46e6091">SSH Setup</h3>
|
||||
<div class="outline-text-3" id="text-org46e6091">
|
||||
<p>
|
||||
Install OpenSSH from <code>chocolatey</code> as the one packed with Windows is quite old (<a href="https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/">link</a>):
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> choco install openssh --package-parameters=<span class="org-string">"/SSHAgentFeature"</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Then generate the keys:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> ssh-keygen
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Start the SSH-Agent to automatically unlock the keys:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> <span class="org-comment-delimiter"># </span><span class="org-comment">Start the service</span>
|
||||
Start-Service ssh-agent
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">This should return a status of Running</span>
|
||||
Get-Service ssh-agent
|
||||
|
||||
<span class="org-comment-delimiter"># </span><span class="org-comment">Now load your key files into ssh-agent</span>
|
||||
ssh-add
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Copy the public key with:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> Get-Content -Path $<span class="org-variable-name">HOME</span><span class="org-string">\.</span>ssh\id_rsa.pub | Set-Clipboard
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
And add it to <code>~/.ssh/authorized_keys</code> on the server side.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Finally, it should be possible to ssh to the server.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-org07e3d19" class="outline-3">
|
||||
<h3 id="org07e3d19">SSHFS</h3>
|
||||
<div class="outline-text-3" id="text-org07e3d19">
|
||||
<p>
|
||||
Install <a href="https://github.com/billziss-gh/sshfs-win">sshfs-win</a>.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Run the <code>Registry Editor</code>, and find <code>Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr</code>, then edit <code>CommandLine</code>:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-conf"> <span class="org-variable-name">svc %1 %2 %U -o create_dir_umask</span>=<span class="org-highlight-numbers-number">000</span> -o create_file_umask=<span class="org-highlight-numbers-number">111</span> -o umask=<span class="org-highlight-numbers-number">000</span>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Then, to mount the network drive using <code>sshfs</code>:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> net use X: <span class="org-string">\\</span>sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
To un-mount it:
|
||||
</p>
|
||||
<div class="org-src-container">
|
||||
<pre class="src src-bash"> net use X: /delete
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="outline-container-orgb8446e0" class="outline-2">
|
||||
<h2 id="orgb8446e0">Software Setup</h2>
|
||||
<div class="outline-text-2" id="text-orgb8446e0">
|
||||
@ -130,7 +226,7 @@ Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://lo
|
||||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Dehaeze Thomas</p>
|
||||
<p class="date">Created: 2021-01-01 ven. 20:09</p>
|
||||
<p class="date">Created: 2021-01-03 dim. 22:25</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
20
doom.org
20
doom.org
@ -1,5 +1,15 @@
|
||||
#+TITLE: Doom Emacs Configuration
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
#+STARTUP: overview
|
||||
|
||||
#+LANGUAGE: en
|
||||
#+EMAIL: dehaeze.thomas@gmail.com
|
||||
#+AUTHOR: Dehaeze Thomas
|
||||
|
||||
#+HTML_LINK_HOME: ./index.html
|
||||
#+HTML_LINK_UP: ./index.html
|
||||
|
||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
#+HTML_HEAD: <script type="text/javascript" src="./dist/script.js"></script>
|
||||
#+PROPERTY: header-args :tangle ~/.config/doom/config.el :results none :padline no
|
||||
|
||||
* Introduction and Resources :ignore:
|
||||
@ -2586,16 +2596,16 @@ Create Org-Roam file from heading ([[https://ag91.github.io/blog/2020/11/12/writ
|
||||
:init
|
||||
:config
|
||||
;; Bibliography file
|
||||
(setq bibtex-completion-bibliography "~/Cloud/brain/biblio/references.bib")
|
||||
(setq bibtex-completion-bibliography '("~/Cloud/brain/biblio/references.bib"
|
||||
"~/Cloud/acoustic/resources/acoustics.bib"))
|
||||
|
||||
;; Directory with all the pdfs
|
||||
(setq bibtex-completion-library-path "~/Cloud/pdfs/")
|
||||
(setq bibtex-completion-library-path '("~/Cloud/pdfs/"
|
||||
"~/Cloud/acoustic/resources/pdfs/"))
|
||||
|
||||
;; Directory with notes files
|
||||
(setq bibtex-completion-notes-path "~/Cloud/brain/")
|
||||
|
||||
(setq bibtex-completion-notes-extension ".org")
|
||||
|
||||
(setq bibtex-completion-pdf-extension '(".pdf" ".djvu"))
|
||||
|
||||
(setq bibtex-completion-additional-search-fields '(keywords))
|
||||
|
67
index.org
67
index.org
@ -1,9 +1,12 @@
|
||||
#+TITLE: Dotfiles - Manjaro Linux
|
||||
#+OPTIONS: toc:nil
|
||||
#+OPTIONS: html-postamble:nil
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
#+HTML_HEAD: <style> #content {margin: auto;} </style>
|
||||
|
||||
The general installation process is described [[file:install.org][here]].
|
||||
The general installation procedure is described [[file:install.org][here]].
|
||||
|
||||
* Desktop Configuration
|
||||
There are Specific configuration files for:
|
||||
- *Windows Manager*: [[file:bspwm.org][BSPWM]] and [[file:i3.org][I3]]
|
||||
- *Hotkey Manager*: [[file:sxhkd.org][SXHKD]]
|
||||
- *Status Bar*: [[file:polybar.org][Polybar]]
|
||||
@ -11,44 +14,26 @@ The general installation process is described [[file:install.org][here]].
|
||||
- *Compositor*: [[file:compositor.org][Picom]]
|
||||
- *Notification Manager*: [[file:notifications.org][Dunst]]
|
||||
- *Service Manager*: [[file:systemd.org][Systemd]]
|
||||
- [[file:xconfig.org][X configuration]]
|
||||
|
||||
* Editors
|
||||
- [[file:vim.org][Vim]]
|
||||
- [[./doom.org][Doom Emacs]] ([[file:emacs-library-babel.org][library of babel]], [[file:emacs-snippets.org][snippets]])
|
||||
|
||||
* Command Line
|
||||
- [[file:bash.org][Bash]] and [[file:zsh.org][ZSH]]
|
||||
- Terminal: [[file:termite.org][Termite]]
|
||||
- Terminal Multiplexer [[file:tmux.org][TMUX]]
|
||||
|
||||
* Multimedia
|
||||
- [[file:image.org][Image]]
|
||||
- [[file:music.org][Music]]
|
||||
- [[file:video.org][Video]]
|
||||
|
||||
* Internet Related
|
||||
- Web Browser: [[file:qutebrowser.org][Qutebrowser]]
|
||||
- Bookmark Manager: [[file:bookmarks.org][Buku]]
|
||||
|
||||
* PDF Reader
|
||||
- [[file:zathura.org][Zathura]]
|
||||
|
||||
* File Managers
|
||||
- GUI: [[file:pcmanfm.org][Pcmanfm]]
|
||||
- Terminal based: [[file:ranger.org][Ranger]]
|
||||
|
||||
* Organization
|
||||
- [[file:calendar.org][Calendar]]
|
||||
- [[file:mail.org][Mail]]
|
||||
- [[file:contacts.org][Contacts]]
|
||||
- RSS-Reader: [[file:newsboat.org][Newsboat]]
|
||||
|
||||
* Others
|
||||
- [[file:applications.org][Desktop Applications]]
|
||||
- [[file:matlab.org][Matlab]]
|
||||
- Some useful [[file:binaries.org][Binaries]]
|
||||
- [[file:git.org][Git]] Configuration
|
||||
- [[file:gtk.org][GTK]]
|
||||
- *Display Server*: [[file:xconfig.org][Xorg]]
|
||||
- *Editors*: [[file:vim.org][Neovim]] and [[./doom.org][Emacs (Doom)]] ([[file:emacs-library-babel.org][library of babel]], [[file:emacs-snippets.org][snippets]])
|
||||
- *Shell*: [[file:bash.org][Bash]]
|
||||
- *Terminal Emulator*: [[file:termite.org][Termite]]
|
||||
- *Terminal Multiplexer* [[file:tmux.org][TMUX]]
|
||||
- *Image Setup*: [[file:image.org][SXIV]]
|
||||
- *Music Setup*: [[file:music.org][NCMPCPP, Mopidy and Beets]]
|
||||
- *Video Setup*: [[file:video.org][MPV]]
|
||||
- *Web Browser*: [[file:qutebrowser.org][Qutebrowser]]
|
||||
- *PDF Reader*: [[file:zathura.org][Zathura]]
|
||||
- *GUI File Manager*: [[file:pcmanfm.org][Pcmanfm]]
|
||||
- *Terminal File Manager*: [[file:ranger.org][Ranger]]
|
||||
- *Calendar*: [[file:calendar.org][Vdirsyncer and Khal]]
|
||||
- *Mails*: [[file:mail.org][Mbsync, Msmtp, Mu and Neomutt]]
|
||||
- *Contacts*: [[file:contacts.org][Khard]]
|
||||
- *RSS-Reader*: [[file:newsboat.org][Newsboat]]
|
||||
- *Version Control*: [[file:git.org][Git]]
|
||||
- *Scripts*: [[file:binaries.org][Scripts]]
|
||||
- *Desktop Applications*: [[file:applications.org][.desktop files]]
|
||||
- *Computation*: [[file:matlab.org][Matlab]]
|
||||
- *GUI Toolkit*: [[file:gtk.org][GTK]]
|
||||
- [[file:config.org][Other Config]]
|
||||
|
||||
|
949
install.org
949
install.org
File diff suppressed because it is too large
Load Diff
@ -128,7 +128,7 @@ Sorting by tracking number and then title
|
||||
|
||||
#+begin_src conf
|
||||
def_key "q"
|
||||
run_external_command "if [ $TMUX ]; then tmux detach; fi"
|
||||
run_external_command "sh -c 'if [ $TMUX ] ; then tmux detach; fi'"
|
||||
def_key "Q"
|
||||
quit
|
||||
def_key "g"
|
||||
|
@ -7,6 +7,7 @@
|
||||
#+begin_src conf
|
||||
[global]
|
||||
#+end_src
|
||||
|
||||
** Display
|
||||
#+begin_src conf
|
||||
# Which monitor should the notifications be displayed on.
|
||||
|
@ -1,4 +1,4 @@
|
||||
#+TITLE: PCMANFM
|
||||
#+TITLE: PCManFM
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
#+PROPERTY: header-args:bash :comments both
|
||||
#+PROPERTY: header-args:bash+ :mkdirp yes
|
||||
|
@ -577,7 +577,7 @@ Send to Emacs
|
||||
#+begin_src bash :tangle ~/.config/qutebrowser/userscripts/html-to-pdf.sh
|
||||
filename=$(rofi -p "filename" -dmenu -lines 1)
|
||||
|
||||
if [ -n "filename" ]; then
|
||||
if [ -n "$filename" ]; then
|
||||
cd ~/Pictures/ && \
|
||||
percollate pdf --css "@page { size: A4 portrait }" --output "$filename.pdf" "$QUTE_URL" && \
|
||||
dunstify "Percollate" "Successfully saved to pdf"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#+TITLE: Ranger Configuration
|
||||
#+TITLE: Ranger
|
||||
#+SETUPFILE: ./setup/org-setup-file.org
|
||||
|
||||
* Documentation
|
||||
|
3
rofi.org
3
rofi.org
@ -91,7 +91,7 @@
|
||||
kb-select-10: "Alt+0";
|
||||
}
|
||||
|
||||
* {
|
||||
,* {
|
||||
//// COLORS ////
|
||||
|
||||
//// uncomment to match bspwm edition theme
|
||||
@ -118,7 +118,6 @@
|
||||
//// TEXT ////
|
||||
|
||||
font: "xos4 Terminus 18px";
|
||||
// font: "Knack Nerd Font 16px";
|
||||
text-color: @foreground;
|
||||
|
||||
//// PADDING ETC ////
|
||||
|
53
windows.org
53
windows.org
@ -23,7 +23,7 @@ First install Chocolatey using a PowerShell as administrator:
|
||||
|
||||
Then, install all required software using one command:
|
||||
#+begin_src bash
|
||||
choco install firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder syncthing cura ccleaner
|
||||
choco install -y firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder cura ccleaner neovim
|
||||
#+end_src
|
||||
|
||||
* Debloat windows10
|
||||
@ -34,6 +34,57 @@ Run a PowerShell with administrative rights and run:
|
||||
iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/debloat'))
|
||||
#+end_src
|
||||
|
||||
* SSHFS
|
||||
** SSH Setup
|
||||
Install OpenSSH from =chocolatey= as the one packed with Windows is quite old ([[https://blog.frankfu.com.au/2019/03/21/moving-from-windows-1809s-openssh-to-openssh-portable/][link]]):
|
||||
#+begin_src bash
|
||||
choco install openssh --package-parameters="/SSHAgentFeature"
|
||||
#+end_src
|
||||
|
||||
Then generate the keys:
|
||||
#+begin_src bash
|
||||
ssh-keygen
|
||||
#+end_src
|
||||
|
||||
Start the SSH-Agent to automatically unlock the keys:
|
||||
#+begin_src bash
|
||||
# Start the service
|
||||
Start-Service ssh-agent
|
||||
|
||||
# This should return a status of Running
|
||||
Get-Service ssh-agent
|
||||
|
||||
# Now load your key files into ssh-agent
|
||||
ssh-add
|
||||
#+end_src
|
||||
|
||||
Copy the public key with:
|
||||
#+begin_src bash
|
||||
Get-Content -Path $HOME\.ssh\id_rsa.pub | Set-Clipboard
|
||||
#+end_src
|
||||
|
||||
And add it to =~/.ssh/authorized_keys= on the server side.
|
||||
|
||||
Finally, it should be possible to ssh to the server.
|
||||
|
||||
** SSHFS
|
||||
Install [[https://github.com/billziss-gh/sshfs-win][sshfs-win]].
|
||||
|
||||
Run the =Registry Editor=, and find =Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\WinFsp\Services\sshfs.kr=, then edit =CommandLine=:
|
||||
#+begin_src conf
|
||||
svc %1 %2 %U -o create_dir_umask=000 -o create_file_umask=111 -o umask=000
|
||||
#+end_src
|
||||
|
||||
Then, to mount the network drive using =sshfs=:
|
||||
#+begin_src bash
|
||||
net use X: \\sshfs.kr\thomas@192.168.1.150\srv\storage /persistent:yes
|
||||
#+end_src
|
||||
|
||||
To un-mount it:
|
||||
#+begin_src bash
|
||||
net use X: /delete
|
||||
#+end_src
|
||||
|
||||
* Software Setup
|
||||
** Syncthing
|
||||
https://docs.syncthing.net/users/autostart.html#autostart-windows-startup
|
||||
|
Loading…
Reference in New Issue
Block a user