diff --git a/.config/doom/config.el b/.config/doom/config.el index a0f5382..a827245 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -172,6 +172,7 @@ "\\" 'org-ctrl-c-ctrl-c :localleader "j" 'org-insert-heading + "k" 'org-latex-export-to-pdf "t" 'org-todo-or-insert "e" 'org-export-dispatch-custom-date "E" 'org-export-repeat diff --git a/.config/doom/init.el b/.config/doom/init.el index 4dd7474..6cb2534 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -34,7 +34,7 @@ hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW ;;hydra indent-guides ; highlighted indent columns - ligatures ; ligatures and symbols to make your code pretty again + ;;ligatures ; ligatures and symbols to make your code pretty again minimap ; show a map of the code on the side modeline ; snazzy, Atom-inspired modeline, plus API nav-flash ; blink cursor line after big motions diff --git a/.config/shell/functions b/.config/shell/functions index 80a5de5..8cf9269 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -88,7 +88,8 @@ edbin() { alias l="ls -l --almost-all --human-readable --group-directories-first --file-type" cd() { - test ! -e "$1" && test $# -eq 1 && cd $DATA/$1* && return + test ! -d "$1" && test $# -eq 1 && dir=$(find "$DATA" -maxdepth 2 -type d -name "$1*" | head -1) && + test -n "$dir" && cd "$dir" && return builtin cd $1 && command ls --file-type --group-directories-first --color=always --format=vertical -w $COLUMNS | head -3 } @@ -130,7 +131,7 @@ browse-unsafe() { sudo chattr -i /etc/resolv.conf && sudo mv /etc/resolv.conf /etc/resolv.conf.bak && sudo systemctl enable --now systemd-resolved && - sleep 1 + sleep 100 browse-safe }