Thursday, November 6, 2014

Changing line numbers from normal to relative

Hi,

I was wondering if it was possible to switch to relative line numbers once I'm in operator-pending mode and then switch back when done. For example, say I have regular line numbers turned on and I hit 'c' in normal mode on line 24. The numbering changes to relative and goes back to regular numbers after the rest of the command is executed.

I couldn't find an autocommand, but was hoping someone else had already come up with an ingenious way to address this.

Thank you,

--
 
Salman

I, too, shall something make and glory in the making.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment