| 22 | | Additionally, using up/down in command mode puts the cursor at the end of the line, whereas readline puts it at the beginning of the line. I'm not sure whether one is more convenient or correct, but UI consistency is more important here and every other program I encounter uses libreadline. |
| | 22 | 2. Using up/down in command mode puts the cursor at the end of the line, whereas readline puts it at the beginning of the line. I'm not sure whether one is more convenient or correct, but UI consistency is more important here and every other program I encounter uses libreadline. |
| | 23 | |
| | 24 | 3. Both vim and libreadline handle 'cw' specially: instead of deleting the sequence of text moved through by the 'w' movement command—the rest of the word and any trailing whitespace—it only deletes the rest of the word. So 'cw'/'ce' and 'cW'/'cE' are synonymous even though 'dw'/'de' and 'dW'/'dE' aren't. |