A blog dedicated to text editing and general exploration of computing knowledge
ctrl-u deletes to the beginning of line, not indent.
@mariussIf there's whitespace preceding textual characters on the line, it's retained.
ctrl-o is another great one. Enter normal mode for one command and then return to insert mode.
Derek, that's an interesting one. Could you give a couple of examples of how you regularly use Ctrl-o?Thanks.Casey
Sure...<C-o>ma - Mark the current position and then keep typing.<C-o>gql - Format the current line and keep typingI tend to use it more for some home-grown mappings that I have to do specific things of my own, but the above two should give you a taste for the more general types of ideas.The next type you do <Esc>(thing)i you might remember that you could have done that with <C-o>
Ctrl-y .......... repeat line aboveCtrl-e ...........repeat line belowCtrl-x Ctrl-l.... repeat hole line
Post a Comment