Files
Vim-tutorials/.vim-commands.swo
T

13 lines
16 KiB
Plaintext
Raw Normal View History

2025-08-04 19:54:58 +03:00
b0VIM 9.0%Ë�h�&‚root5ek0.l.time4vps.cloud/home/Projects/Vim-tutorials/vim-commandsutf-8U3210#"! U
Â
„
Q
4
3
÷ Õ Ô © § e $ " òïÙÏš…„ECüé£�Z$çØ˜rUçæ¥‰ˆ‡AþØ×Œ‹�]\=<äã£po)(ÛÇÆ�œkjáàß the specification for that specific command is present. :help [command] : It will open documentation to a specific location where :help <enter> : It will open vim documentation.-> help command (for vim documentation): are not saved. :q! is used to force quit the vim even if the changes on files for ex: !(exclamation mark): This Operator can be used to force the commands :$<enter> : To move to the last line in the file. :<line-number><enter> : To go to the particular <line-number>.-> for navigating using line mode:Line mode: 2d3w = Delete the 3w motion 2 times. d3w = Delete the 3w motion. 3w = Repeat word motion 3 times. For ex: <number>dw: delete-word command to be executed <number> numbers of times. command shown above (<number>dd). times the delete-command given should be executed. Same as the Note: <number><delete-command> is telling in short hand on how many the cursor is present. <number>dd: To delete the 3 lines below from current line where is present currently on that same line. dd: To delete the current line entirely no matter where the cursor D: Equivalent of of what d$ current line the cursor is present. d0: To delete from current position to the first letter of the the line. d$: To delete from current position of cursor to the end of dk: To delete whole current line and the line above. dj: To delete whole current line and the line below. current line. dh: To delete next byte towards left from current cursor position on current line. dl: To delete next byte towards right from current cursor position on dw: To delete a word in front of the current cursor position. the cursor by) dw (this delete the what the w command would move for ex: <operation>{motion} Using d to delete words with motion operation: X: To delete the left side byte of the current cursor position. x: To delete the right side byte of the current cursor position. -> Deleting text from file in normal mode: the previous was showing. g + (ctrl+g): To get more detailed information of whatever current cursor position. the percentage of we have covered according to ctrl + g: To know the current line we are on, the file name, <line-number> as mentioned. <line-number>gg or <line-number>G: To move the particular G: To move to the last line of the file. gg: To move the first column of the first line of the file. line the cursor is present. $: To move the last letter of the last word of the current line the cursor is present. ^: To move the first letter of the first word of the current is present. 0: To move the first column of the current line the cursor punctuation as a word.(move on word backward) B: To move the cursor by one word on file. It don't include the punctuation as a word.(move on word backward) b: To move the cursor by one word on file. It include the punctuation as a word.(move one word forward) W: To move the cursor by one word on file. It don't include the punctuation as a word.(move one word forward) w: To move the cursor by one word on the file. It include the where the cursor is currently present. z + z: To bring the focus of vision to the center where the cursor is currently present. z + <enter>: To bring the focus of vision to the top ctrl + b: To do page up. Similar to page up button. ctrl + f: To do page down. Similar to page down button. k: to go up. j: to go down. l: to go right. h: to go left. -> for navigating the file opened in vim:Normal mode commands:ad‡[µ†…UTô󦘗NA@í
Ñ
Ð
‚
�
€
4