On 2015-03-11, Christian Brabandt wrote: > Am 2015-03-10 23:40, schrieb Gary Johnson: > >On 2015-03-10, Bram Moolenaar wrote: > >>Using 0 CTRL-D is a bit weird, a leftover from old times. Since we > >>don't know if CTRL-D is going to be typed or not we can't avoid > >>triggering CursorHoldI. Perhaps there is a solution anyway. > > > >What is the modern alternative to 0 Ctrl-D then? > > I didn't know about 0_CTRL-D and ^_CTRL-D. I would have used > CTRL-U (which does the same as 0_CTRL-D, but not as ^_CTRL-D)
CTRL-U does the same as 0_CTRL-D only when typed on a new line before any other characters are typed, or when the cursor is at the first character in the line. Granted, that first case is the most common situation in which I use 0_CTRL-D. Regards, Gary -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
