fix small stuff

This commit is contained in:
Marco Thomas
2022-04-26 19:21:58 +02:00
parent 71df36b616
commit 54d6d63d97
4 changed files with 11 additions and 5 deletions

View File

@@ -479,7 +479,7 @@ Bootstrap =org-mode= together with keybindings.
org-edit-src-content-indentation 0 ;; don't indent stupidly in org-edit-src-code org-edit-src-content-indentation 0 ;; don't indent stupidly in org-edit-src-code
org-log-done nil ;; just mark DONE without a time stamp org-log-done nil ;; just mark DONE without a time stamp
org-log-repeat nil ;; don't set a time after marking sth DONE org-log-repeat nil ;; don't set a time after marking sth DONE
org-descriptive-links nil ;; Always show plain links org-descriptive-links t ;; Always show plain links
) )
#+end_src #+end_src
@@ -728,8 +728,7 @@ Sometimes, a big red TODO is more intimidating than one with normal text color.
*** Code style *** Code style
I want =bsd= style C. I want =bsd= style C.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq c-default-style "bsd" (setq c-default-style "bsd")
c-basic-offset 4)
#+end_src #+end_src

View File

@@ -51,12 +51,12 @@ alias rm='rm -i' # Ask before removal
alias cp='cp -i' # Ask before removal alias cp='cp -i' # Ask before removal
alias mv='mv -i' # Ask before removal alias mv='mv -i' # Ask before removal
# tools # tools
alias conservation='cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode' alias conservation='cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode'
alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash' alias truecolor='curl -s https://raw.githubusercontent.com/JohnMorales/dotfiles/master/colors/24-bit-color.sh | bash'
alias nssh='SSH_AUTH_SOCK= ssh' alias nssh='SSH_AUTH_SOCK= ssh'
alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"' alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'
alias greppdf='f() {find . -iname "*.pdf" -exec pdfgrep $1 {} +};f'
# troll # troll
alias powershell='clear && PS1="windowsadm@powershell$ " bash' alias powershell='clear && PS1="windowsadm@powershell$ " bash'

View File

@@ -20,6 +20,9 @@
#+LATEX_HEADER: \usepackage{xcolor} #+LATEX_HEADER: \usepackage{xcolor}
#+LATEX_HEADER: \usepackage{color} #+LATEX_HEADER: \usepackage{color}
%%% cleaner newline indentation
#+LATEX_HEADER: \usepackage[parfill]{parskip}
%%% break page on new section %%% break page on new section
#+LATEX_HEADER: \usepackage{titlesec} #+LATEX_HEADER: \usepackage{titlesec}
#+LATEX_HEADER: \newcommand{\sectionbreak}{\clearpage} #+LATEX_HEADER: \newcommand{\sectionbreak}{\clearpage}
@@ -70,4 +73,4 @@
%%% code blocks %%% code blocks
#+latex_header: \usepackage{minted} #+latex_header: \usepackage{minted}
#+latex_header: \usemintedstyle{friendly} #+latex_header: \usemintedstyle{friendly}
#+LATEX_HEADER: \tcolorboxenvironment{minted}{breakable, blanker,before skip=10pt,after skip=10pt} #+LATEX_HEADER: \tcolorboxenvironment{minted}{blanker,before skip=10pt,after skip=10pt}

View File

@@ -31,4 +31,8 @@
#+LATEX_HEADER: \raisebox{2pt}[0pt][0pt]{\insertframenumber/\inserttotalframenumber} #+LATEX_HEADER: \raisebox{2pt}[0pt][0pt]{\insertframenumber/\inserttotalframenumber}
#+LATEX_HEADER: } #+LATEX_HEADER: }
% code blocks
#+latex_header: \usepackage{minted}
#+latex_header: \usemintedstyle{friendly}
#+LATEX_HEADER: \tcolorboxenvironment{minted}{blanker,before skip=10pt,after skip=10pt}