ad1

Sunday, November 8, 2015

ct and c

["x]c{motion}
Delete {motion} text [into register x] and start insert.  When  'cpoptions' includes the 'E' flag and there is no text to delete (e.g., with "cTx" when the cursor is just after an 'x'), an error occurs and insert mode does not start (this is Vi compatible). When  'cpoptions' does not include the 'E' flag, the "c" command always starts insert mode, even if there is no text to delete.


No comments:

Post a Comment