X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=blobdiff_plain;f=config.org;h=a74169fda3172d15842e4d789f7976343ff750be;hp=6c8241e100a78824a5f05c699955e3079aff3b1b;hb=6ffeb4a1e0b4c1d6cf3a83b764dd25768e4cf8ad;hpb=a2133dfae29f92286a4db541de2011e75bf66e25 diff --git a/config.org b/config.org index 6c8241e..a74169f 100644 --- a/config.org +++ b/config.org @@ -335,7 +335,7 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m mu4e-confirm-quit nil mu4e-view-use-gnus t mail-user-agent 'mu4e-user-agent - mail-context-policy 'pick-first + mu4e-context-policy 'pick-first mu4e-contexts `( ,(make-mu4e-context :name "school" @@ -386,7 +386,7 @@ Contexts are a not very well known feature of mu4e that makes it super easy to m Set EWW as default browser except for multimedia which should open in MPV. #+begin_src emacs-lisp (defun browse-url-mpv (url &optional new-window) - "Open URL in MPV." + "Ask MPV to load URL." (interactive) (start-process "mpv" "*mpv*" "mpv" url)) @@ -671,6 +671,13 @@ Abbreviate things! I just use this for things like my email address and copyrigh #+begin_src emacs-lisp (use-package markdown-mode) #+end_src +** scdoc mode +Get it for yourself at https://git.armaanb.net/scdoc +#+begin_src emacs-lisp + (add-to-list 'load-path "~/Code/scdoc-mode") + (autoload 'scdoc-mode "scdoc-mode" "Major mode for editing scdoc files" t) + (add-to-list 'auto-mode-alist '("\\.scd\\'" . scdoc-mode)) +#+end_src * Keybindings ** Switch windows #+begin_src emacs-lisp @@ -891,6 +898,8 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac export LC_CTYPE="en_US.UTF-8" export LANGUAGE="en_US.UTF-8" + export CDPATH=:~ + export KISS_PATH="/home/armaa/Virtual/kiss/home/armaa/kiss-repo" export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/core" export KISS_PATH="$KISS_PATH:/home/armaa/Clone/repo-main/extra" @@ -914,7 +923,7 @@ Use the vi editing mode. I still haven't found a good way to show visual feedbac #+end_src **** File management #+begin_src shell :tangle ~/.config/ash/ashrc - alias ls='ls -lh --group-directories-first' + alias ls='LC_COLLATE=C ls -lh --group-directories-first' alias la='ls -A' alias df='df -h / /boot' alias du='du -h'