VIM - Cheatsheet - Cut and paste

    yy - yank (copy) a line
    2yy - yank (copy) 2 lines
    
    yw - yank (copy) the characters of the word from the cursor position to the start of the next word
    y$ - yank (copy) to end of linehttps://wiki.sharewiz.net/doku.php?id=vim:cheatsheet:cut_and_paste&do=edit
    
    p - put (paste) the clipboard after cursor
    P - put (paste) before cursor
    
    dd - delete (cut) a line
    2dd - delete (cut) 2 lines

    dw - delete (cut) the characters of the word from the cursor position to the start of the next word

    D - delete (cut) to the end of the line
    d$ - delete (cut) to the end of the line

    x - delete (cut) character