Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Vim Cheat Sheet: Navigation, Editing, Search and Mode Commands, Slides of Linux skills

A comprehensive cheat sheet for vim users, covering various movements, editing commands, search functions, and mode commands. It is an essential resource for both beginners and advanced users looking to improve their productivity and efficiency in using vim.

Typology: Slides

2021/2022

Uploaded on 07/05/2022

carol_78
carol_78 🇦🇺

4.8

(53)

1K documents

Partial preview of the text

Download Vim Cheat Sheet: Navigation, Editing, Search and Mode Commands and more Slides Linux skills in PDF only on Docsity! wb ^0 $ } { % W l k j h fi H M L * /fooCl Ctrl-N gd Ctrl-W j Ctrl-W p Ctrl-W l Ctrl-W k :diffsplit :6 [{ ]} # :split Created by vgod, Dec. 2009 :vsplit zz zb zt Ctrl-F Ctrl-B % mx 'x enter normal mode v enter visual mode V enter visual line mode enter visual block mode i enter insert mode R enter replace mode a append A append at end of line y yank/copy (range) d delete/cut (range) c modify (range) x delete/cut (character) D delete to end of line C modify to end of line p paste after cursor J join lines r replace (character) > indent < indent leftward . redo u undo :w save(:wq save and quit) :q quit(:q! quit anyway) :e x edit file x :n new window :h vim help :xx jump to line #xx Vim Visual Cheat Sheet Movement/Range Character lkjh word, WORD(all non-blank ch) w b W e next/prev word next/prev WORD end of word/WORD ^ 0 $ Line begin/end of line begin (non-blank) of line Paragraph, Block }{ [{ ]} % prev/ next paragraph begin/end of block matching parenthesis Window, File H M L zt C-B C-F top of win mid of win btm of win scroll to top zz scroll to middle zb scroll to bottom prev/next page Search fx * gd find current word backward/forward # B to character x to right to definition of current word /xxx search xxx n N next/prev search result Mode Commands General Commands EX Commands Split window C-W p :vsp :sp vertically/horizontally split :diffs split and diff to last accessed window Auto-completion [insert mode] C-N C-P auto-complete next/prev keyword C-X C-F auto-complete file name C-W w to next window 'x mark/jump to xmx gg G begin/end of file ESC C-[ C-v E e
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved