:config (which-key-mode)
:custom (which-key-idle-delay 0.3))
#+end_src
-** Visual highlights of changes
-Highlight when changes are made.
-#+begin_src emacs-lisp
- (use-package evil-goggles
- :config (evil-goggles-mode)
- (evil-goggles-use-diff-faces))
-#+end_src
** Highlight TODOs in comments
#+begin_src emacs-lisp
(use-package hl-todo
#+begin_src shell :tangle ~/.config/zsh/zshrc
chpwd() {
emulate -L zsh
- exa -lh --icons --git --group-directories-first
+ exa -h --icons --git --group-directories-first
+ }
+#+end_src
+**** Change default enter behavior
+If no command given, =ls=, if in a Git repo, =git status= as well.
+#+begin_src shell :tangle ~/.config/zsh/zshrc
+ acheam-accept-line () {
+ if [ ${#${(z)BUFFER}} -eq 0 ]; then
+ echo
+ [ git rev-parse --git-dir > /dev/null 2>&1 ] && git status
+ exa -h --icons --git --group-directories-first
+ fi
+ zle accept-line
}
+ zle -N acheam-accept-line
+ bindkey '^M' acheam-accept-line
#+end_src
**** Setup anaconda
#+begin_src shell :tangle ~/.config/zsh/zshrc