Is there a way to enter negative arguments in Evil in Emacs? i.e. I want to kill 5 lines back ward, instead of 5dd, is there something like -5dd?
5dd
-5dd
Emacs supports this. The key control + dash or C-- invokes the command negative-argument, which does what you want. Unfortunately, evil doesn't handle negative arguments, and you get an error:
C--
negative-argument
evil
Debugger entered--Lisp error: (wrong-type-argument characterp 67108909) byte-code("..." [...] 9) evil-extract-count([67108909 100]) evil-operator-range(t) byte-code("..." [...] 5) ad-Orig-call-interactively(evil-delete nil nil) call-interactively(evil-delete nil nil)
What you want to do is not currently possible. If you want, you can contact the evil devs and/or file a bug report.
Emacs supports this. The key control + dash or
C--
invokes the commandnegative-argument
, which does what you want. Unfortunately,evil
doesn't handle negative arguments, and you get an error:What you want to do is not currently possible. If you want, you can contact the
evil
devs and/or file a bug report.