shift+a to append to the end of a line; d+w to delete the whole word 'dd' to delete the whole line. and can use any number before that to delete that number of lines for eg. 2dd; w to go the starting of next word e to go to end of the current word $ to go the end of the line. 'de' will delete from the current char to the end of the word. use 'Num+w' where num is any number to move that many words ahead. 0 to move to the start of line; ctrl+r to redo and U to undo. use 'r' to replace a character. use 'R' to edit more than a character. use 'cntrl+g' to go to a line number use 'G' to move to bottom of file and 'gg' to move to the start of file. use '/' to search for a word, and to search for same word use 'n' in the next occurrence. use '%' to get to the end of that bracket, for eg. { to go to } use ':/s/word/wordToChange' this changes the word in in the first line and use /g at the end to change it globally; use ':%s/word/wordToChange/g' to change only in the given file use v for selecting text; use o to directly move to the next line and open insert mode, to open a line above the line use Capital O; instead of i can use a as well to append after the cursor. use y to copy and yw copies one word

(nvim-surround plugin) gsa+surrounding(like ') - add surrounding gsd to delte surrounding gsr to replace surrounding gsf to find surrounding

created Own keymap m, to remove all the ^M when you copy and paste