vim.how

    Editing

    In normal mode you can use these commands for both quick editing of text, without going into insert mode, or to initiate insert mode after making a specific edit.
    r
    Replace a single character
    This will not start insert mode
    s
    Delete a character and replace it
    After the character is deleted insert mode will start for replacement.
    c
    c
    Replace (change) line
    You can append the command with a number to replace multiple lines. For example 5cc to replace 5 lines.
    S
    Replace (change) line
    A shorter form of 'cc'.
    c
    w
    Replace (change) from the cursor to the next word
    A combination of 'c' (for replace) with 'w' (for the beginning of the next word).
    c
    b
    Replace (change) from the cursor to the previous word
    A combination of 'c' (for replace) with 'b' (for the beginning of the previous word).
    c
    $
    Replace (change) from the cursor to the end of the line
    A combination of 'c' (for replace) with '$' (for the end of the line).
    C
    Replace (change) from the cursor to the end of the line
    A shorter form of 'c$'.
    c
    0
    Replace (change) from the cursor to the beginning of the line
    A combination of 'c' (for replace) with '$' (for the beginning of the line).
    J
    Join line below to the current one
    The current line and the line below will be joined to form a single line with a space between.
    .
    Repeat the last command
    u
    Undo
    Ctrl
    +
    r
    Redo