When `dotspacemacs-enable-paste-transient-state` is on, there exists a minor annoyance that deleted whitespaces appear in the kill ring. This requires an extra C-j/C-k to bypass the noise. This commit uses a advice function to `kill-new` to prevent text with only whitespaces from entering kill ring. Credit: https://stackoverflow.com/questions/12102554/emacs-skip-whitespace-kills Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com> Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com> |
||
---|---|---|
.. | ||
spacemacs | ||
spacemacs-base | ||
spacemacs-bootstrap |