H - move to top of screen M - move to middle of screen L - move to bottom of screen w - jump forwards to the start of a word W - jump forwards to the start of a word (words can contain punctuation) e - jump forwards to the end of a word E - jump forwards to the end of...
<leader><leader> e End of word forwards <leader><leader> ge End of word backwards <leader><leader> j Start of line forwards <leader><leader> k Start of line backwards <leader><leader> / <char>... <CR> Search n-character <leader><leader><leader> bdt Til character <leader><leader>...
g% go backwards to [count]th previous matching word. If at an open word, cycle around to the corresponding close word.(a.2) jump to open and close words[% go to [count]th previous outer open word. Allows navigation to the start of blocks surrounding the cursor. This is similar to ...
3. Move the cursor to the end of the correct line (AFTER the first . ). 4. Type d$ to delete to the end of the line. ---> Somebody typed the end of this line twice. end of this line twice. 5. Move on to lesson 2.3 to understand what is happening. ~~~ Lesson 2.3: ON O...
A -> 在一行的结尾插入 (append at end of the line) i -> 在光标前插入 (insert before cursor) I -> 在第一个非空白字符前插入 (insert before first non-blank) o -> 光标下面插入一个新行 (open line below) O -> 光标上面插入一个新行 (open line above) ...
autocmd User CocJumpPlaceholder call CocActionAsync('showSignatureHelp') augroup end " Applying codeAction to the selected region. " Example: `<leader>aap` for current paragraph xmap <leader>a <Plug>(coc-codeaction-selected) nmap <leader>a <Plug>(coc-codeaction-selected) " Remap key...
|ge| ge 1 go backwards to the end of the previous word |gE| gE 1 go backwards to the end of the previous |gt| gt go to the next tab page |gT| gT go to the previous tab page |g<Tab>| g<Tab> go to last accessed tab page ...
Finding/replacing a word or words The ability to search backward The very handy fact it will wrap back to the top once it reaches the end of the document to continue the search Other resources Because Nano is lightweight and easy to use, there isn't much of a learning curve to get sta...
A -> 在一行的结尾插入 (append at end of the line) i -> 在光标前插入 (insert before cursor) I -> 在第一个非空白字符前插入 (insert before first non-blank) o -> 光标下面插入一个新行 (open line below) O -> 光标上面插入一个新行 (open line above) ...
whereoldis the pattern to search for andnewis the string that will replace it. In the case described above, I used: :%s/Globe/Earth/g to get the job done. So what about you want to be prompted before making substitutions? Easy. Just add acat the end of the above command, as follow...