1

To be honest, I'm very novice in Emacs, so is it possible somehow to bind TAB key in insert state of evil mode to shift text after the cursor right on current indentation amount of spaces at each key press. And how to do reverse process (shifting of text after cursor to the left) on Shift+TAB pressing.

1

In vim, one would use Ctrl+d and Ctrl+t in insert mode for this, which is replicated in Evil.

That being said, you would have to rebind functions evil-shift-left-line and evil-shift-right-line to TAB and Shift+TAB.

  • This is great, thank you very much!! – dajnz Aug 9 '16 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.