fix small stuff
This commit is contained in:
@@ -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-log-done nil ;; just mark DONE without a time stamp
|
||||
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
|
||||
|
||||
@@ -728,8 +728,7 @@ Sometimes, a big red TODO is more intimidating than one with normal text color.
|
||||
*** Code style
|
||||
I want =bsd= style C.
|
||||
#+begin_src emacs-lisp
|
||||
(setq c-default-style "bsd"
|
||||
c-basic-offset 4)
|
||||
(setq c-default-style "bsd")
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
@@ -51,12 +51,12 @@ alias rm='rm -i' # Ask before removal
|
||||
alias cp='cp -i' # Ask before removal
|
||||
alias mv='mv -i' # Ask before removal
|
||||
|
||||
|
||||
# tools
|
||||
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 nssh='SSH_AUTH_SOCK= ssh'
|
||||
alias cpu='watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"'
|
||||
alias greppdf='f() {find . -iname "*.pdf" -exec pdfgrep $1 {} +};f'
|
||||
|
||||
# troll
|
||||
alias powershell='clear && PS1="windowsadm@powershell$ " bash'
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
#+LATEX_HEADER: \usepackage{xcolor}
|
||||
#+LATEX_HEADER: \usepackage{color}
|
||||
|
||||
%%% cleaner newline indentation
|
||||
#+LATEX_HEADER: \usepackage[parfill]{parskip}
|
||||
|
||||
%%% break page on new section
|
||||
#+LATEX_HEADER: \usepackage{titlesec}
|
||||
#+LATEX_HEADER: \newcommand{\sectionbreak}{\clearpage}
|
||||
@@ -70,4 +73,4 @@
|
||||
%%% code blocks
|
||||
#+latex_header: \usepackage{minted}
|
||||
#+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}
|
||||
|
||||
@@ -31,4 +31,8 @@
|
||||
#+LATEX_HEADER: \raisebox{2pt}[0pt][0pt]{\insertframenumber/\inserttotalframenumber}
|
||||
#+LATEX_HEADER: }
|
||||
|
||||
% code blocks
|
||||
#+latex_header: \usepackage{minted}
|
||||
#+latex_header: \usemintedstyle{friendly}
|
||||
#+LATEX_HEADER: \tcolorboxenvironment{minted}{blanker,before skip=10pt,after skip=10pt}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user