Vim

7,874 views

Published on

Vim introduction and basic features.

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

  • Be the first to like this

No Downloads
Views
Total views
7,874
On SlideShare
0
From Embeds
0
Number of Embeds
7,386
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Vim

  1. 1. a Serious Text Editor Juri Timošin
  2. 2. whoami ● Infrastructure engineer ● 8 years of text editing ● 3 year vim “guru” ● Ruby fan
  3. 3. I've been using vi and vim also for some 20 years and I'm still learning new things. Anonymous @Stackoverflow
  4. 4. Learn Vim?! What for? ● ● ● ● ● ● Learn once, use everywhere Lightweight Fast (even with huge files) Edit zip files Lifelong Vim is everywhere ○ ○ ○ ○ Gmail, G+ / Facebook Google Rss Readers Firefox / Chrome (vimperator / vimium) Touchscreens! (WAT!?)
  5. 5. Learn Vim?! What for? ● ● ● ● ● ● Learn once, use everywhere Lightweight Fast (even with huge files) Lifelong Home row friendly Vim is everywhere ○ ○ ○ ○ ○ Gmail, G+ / Facebook Google Rss Readers Firefox / Chrome (vimperator / vimium) Touchscreens! (WAT!?) Even Your Kitchen and Bookshelf
  6. 6. Modes Replace insert R v Esc i Normal Visual : : Command Line Insert
  7. 7. Basic Features ● ● ● ● ● ● ● ● ● ● hjkl 0 ^ $ (home and end) w e b W E B (word vs WORD) f t F T (forward and back) gg H M L G d dd ( dd = act on line ) y yy pP u .
  8. 8. Sprechen Sie Vim? ● d$ ● y2E ● d2t, ● 2i ● “ay2f3 (s/a/+/ - to act on system clipboard)
  9. 9. Command Line ● :help [topic] ● :!<shell command> ● :%s/ddd/ttt/[gci]
  10. 10. Where To Start ● ● ● ● ● ● ● ● ● ● Vim: revisited Learn Vim Progressively Vim Adventures Why do those nutheads use vi?! Vim as your IDE Vim for Rubyists Vim for Happy Java Coding Different cheat sheets Books vimtutor

×