Closed donneyluck closed 1 year ago
Thank you for suggestion @donneyluck,
I really want to have this behavior, however, when I tried the code above, I got a weird behavior on right shift:
The behavior depicted above is also present in evi-shift-left
. Maybe I need to report this upstream.
After all, I think sticking with the defaults might be better, see this answer:
https://www.reddit.com/r/emacs/comments/t8zmx1/comment/hzthnb2
After all, I think sticking with the defaults might be better, see this answer:
https://www.reddit.com/r/emacs/comments/t8zmx1/comment/hzthnb2
You can restore the selection by pressing gv after indenting to get the selection back.
If you wanted to re-indent the selection press . (no need to re-select).
Option 1 works but is cumbersome
Option 2 got an error evil-repeat not work
got a weird behavior on right shift
I guess this problem may be caused by some hooks that automatically format buffers
The weird right shift behavior in Lisp modes was caused by parinfer-rust-mode
, the commit a46a79f039d215d84f6fad17ba52159406ab0feb should fix this!
However, pressing "." do repeat the last command!
hi @abougouffa when i move code use evil
This operation is incoherent
May need to be optimized I didn't submit a pr because I think you can make them better combined thks https://superuser.com/questions/684540/evil-mode-evil-shift-left-loses-selection