VIM editor -Use Full commands

From command mode to insert mode – i
From command mode to visual mode – v
From insert/visual mode to command mode – Esc

command mode

search from top to bottom – /”searchpattern”
search from bottom to top – ?”searchpattern”

once search string is entered –
To find next match in downwards direction – n
To find the next match in upwards direction – N

copy – y (yank)
copy current line – yy

delete/cut – d
delete/cut current line -dd

undo -u
redo – Ctrl+r

1 . Enter ‘v’ (visual mode)
2. select the text
3 . press ‘d’ for cut or press ‘y’ for copy
4 . go the place where you want to paste and press ‘p’ to paste