Fork me on GitHub
#cider
<
2020-04-14
>
practicalli-johnny13:04:34

Is the negative prefix argument for Emacs C-- ? In the docstring for cider-ns-refresh it states using the negative prefix argument to prevent calling the cider-ns-refresh-before-fn functions. I didn't find anything in https://docs.cider.mx/cider/0.24/usage/misc_features.html#_reloading_code I understand the prefix argument is C-u and the double prefix argument is C-u C-u . Is the negative prefix C-- or something similar ? This pages suggests that is the case https://www.emacswiki.org/emacs/PrefixArgument, can someone confirm I understand this correctly. Thanks.

yuhan13:04:09

yup, you can confirm it by calling describe-key

yuhan13:04:28

C-h k C--

yuhan13:04:00

it's also equivalent to typing C-u followed by a negative number

practicalli-johnny15:04:26

I was trying to use the Spacemacs equivalent, SPC - as universal argument is SPC u. It seems tha only the universal argument is remapped as C-- works. Thanks