Vim Editor Shortcuts Keys
Linux Shortcuts Keys For vim Editor 1. Go to the first line gg or 1 shift g or :0 (zero) Enter 2. Go to the last line. Shift g or :$ Enter 3. Go to line 8 8 shift g 4. To scroll down one screen Ctrl f 5. To scroll up one screen Ctrl b 6. First position on line 0(zero) 7. Last position on line $ 8. Go to matching parenthesis % 9. Right, left, up, down respectively. l, h, k, j Or You can also use arrow keys 10. Where Am I? Ctrl g ********************** 1. Copying a whole line yy or shift y or :ny where n is the number of line if n is not specified then copy the current line 2. Copying from current position to end of line. y$ 3. Copying 3 lines after the current position 3yy 4. Copying a range of line :1,5y or :1y 5 The above example copy 5 lines, from 1 to 5 5. Deleting a whole line (Deleted line is copy to the registers) dd or :nd Where n is the number of line if n is not specifie...