Your SlideShare is downloading. ×
0
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Vim Cards - Keynote Format
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Vim Cards - Keynote Format

2,442

Published on

Slide deck for memorizing the Vim commands that I've found most useful over my first few months as a Vim user. …

Slide deck for memorizing the Vim commands that I've found most useful over my first few months as a Vim user.

This was purposefully kept free of any styling etc as this is the actual deck I use for memorization and don't like distractions.

Published in: Technology, Business
0 Comments
14 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,442
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
130
Comments
0
Likes
14
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. Delete the letter the cursor is currently on and move left.
    • 2. dh Delete the letter the cursor is currently on and move left.
    • 3. Delete the letter the cursor is currently on and move right.
    • 4. dl Delete the letter the cursor is currently on and move right.
    • 5. Delete the current word.
    • 6. diw Delete the current word.
    • 7. Delete the current line.
    • 8. dd Delete the current line.
    • 9. Delete to the end of the current line.
    • 10. D Delete to the end of the current line.
    • 11. Delete the current paragraph.
    • 12. dip Delete the current paragraph.
    • 13. Delete to the next occurrence of the letter q.
    • 14. dtq Delete to the next occurrence of the letter q.
    • 15. Note: When you delete something in Vim it is like cut in other editors. What you delete is then available in the buffer to be pasted. The buffer and your clipboard are not the same entity. To paste from the clipboard use ⌘v on OS X or on other systems use “+p or “*p
    • 16. “Yank” or copy the current paragraph to Vim’s buffer.
    • 17. yip “Yank” or copy the current paragraph to Vim’s buffer.
    • 18. “Yank” or copy the current line to Vim’s buffer.
    • 19. yy “Yank” or copy the current line to Vim’s buffer.
    • 20. Paste buffer contents before the current cursor position.
    • 21. P Paste buffer contents before the current cursor position.
    • 22. Paste buffer contents after the current cursor position.
    • 23. p Paste buffer contents after the current cursor position.
    • 24. Replace current character.
    • 25. r Replace current character.
    • 26. Replace continuous characters starting at the current cursor position.
    • 27. R Replace continuous characters starting at the current cursor position.
    • 28. Substitute the current character.
    • 29. s Substitute the current character.
    • 30. Substitute the current line.
    • 31. S Substitute the current line.
    • 32. Open a new line below the current line.
    • 33. o Open a new line below the current line.
    • 34. Open a new line above the current line.
    • 35. O Open a new line above the current line.
    • 36. Append text after the current position.
    • 37. a Append text after the current position.
    • 38. Append text at the end of the current line.
    • 39. A Append text at the end of the current line.
    • 40. Insert text before the current position.
    • 41. i Insert text before the current position.
    • 42. Insert text at the start of the current line.
    • 43. I Insert text at the start of the current line.
    • 44. Undo.
    • 45. u Undo.
    • 46. redo.
    • 47. ctrl+r redo.
    • 48. see autocomplete list.
    • 49. ctrl+p see autocomplete list.
    • 50. Move to end of current line.
    • 51. shift+4 Move to end of current line.
    • 52. Move to start of current line.
    • 53. shift+6 Move to start of current line.
    • 54. Move Forward one screen. Think Page Down.
    • 55. ctrl+f Move Forward one screen. Think Page Down.
    • 56. Move Backward one screen. Think Page Up.
    • 57. ctrl+b Move Backward one screen. Think Page Up.
    • 58. Cycle focus between open Vim windows.
    • 59. ctrl+w Cycle focus between open Vim windows.
    • 60. Swap window positions.
    • 61. ctrl+wr Swap window positions.
    • 62. Equalize window widths.
    • 63. ctrl+w= Equalize window widths.
    • 64. Open the file that the cursor is currently on. Think Go to File.
    • 65. gf Open the file that the cursor is currently on. Think Go to File.
    • 66. Open file at current cursor position in new tab.
    • 67. ctrl+wgf Open file at current cursor position in new tab.
    • 68. Search for the word item.
    • 69. /item return Search for the word item.
    • 70. Move forward to the next occurrence in a search.
    • 71. n Move forward to the next occurrence in a search.
    • 72. Move backward to the previous occurrence in a search.
    • 73. N Move backward to the previous occurrence in a search.
    • 74. Substitute the word “new” for the word “old” on the current line.
    • 75. :s/new/old/g Substitute the word “new” for the word “old” on the current line.
    • 76. Substitute the word “new” for the word “old” on the current document.
    • 77. :%s/new/old/g Substitute the word “new” for the word “old” on the current document.
    • 78. Split the current window in order to view two parts of the same file simultaneously.
    • 79. :sp Split the current window in order to view two parts of the same file simultaneously.
    • 80. Print Working Directory. Lists the Vim’s current directory within the file system.
    • 81. :pwd Print Working Directory. Lists the Vim’s current directory within the file system.
    • 82. Change Directory. Works just like in the terminal.
    • 83. :cd Change Directory. Works just like in the terminal.
    • 84. Edit the file name at the given path. When given for a file that does not exist yet it will be stored in the buffer and created when you Write.
    • 85. :e ~/path/file.name Edit the file name at the given path. When given for a file that does not exist yet it will be stored in the buffer and created when you Write.
    • 86. Edit a file in a horizontally split window.
    • 87. :Se ~/path/file.name Edit a file in a horizontally split window.
    • 88. Edit a file in a vertically split window.
    • 89. :Ve ~/path/file.name Edit a file in a vertically split window.
    • 90. Write to file a.k.a Save.
    • 91. :w Write to file a.k.a Save.
    • 92. Write to file and quit.
    • 93. :wq Write to file and quit.

    ×