Vim #selen

1,251 views

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,251
On SlideShare
0
From Embeds
0
Number of Embeds
85
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Vim #selen

  1. 1. Vim<br />kyagi<br />#selen<br />
  2. 2. Why vim?<br />
  3. 3. Moving<br />h,j,k,l<br />left, down, up, right<br />w,b<br />forword, backward <br />
  4. 4. Mode<br />normal<br />command<br />insert<br />visual<br />
  5. 5. Editting<br />I<br /> “i”is insert<br />x, dd<br />delete something<br />
  6. 6. Copy and Paste<br />shift+y<br />“Yank” means copy a line.<br />p<br />paste<br />
  7. 7. select <br />v: select<br />shift+v: select a line.<br />ctrl+v: rectangle select <br />
  8. 8. Undo and Redo<br />“u”<br />“ctrl+r”<br />
  9. 9. Save and Quit<br />“:w”<br /> Write<br />“:q”<br /> Quit<br />
  10. 10. Autocomplete setting<br />1.You download a neocomplcache.vim.<br />http://github.com/Shougo/neocomplcache/downloads<br />2.Click and expand the file.<br />3.Copy.<br />cp ~/Downloads/Shougo-neocomplcache-8a7c171/plugin/* ~/.vim/plugin/<br />cp -r ~/Downloads/Shougo-neocomplcache-8a7c171/autoload/* ~/.vim/autoload<br />
  11. 11. .vimrc<br />https://gist.github.com/1077279<br />you copy this to your ~/.vimrc<br />
  12. 12. color scheme<br />vim has 7 patterns of color by default.<br />http://nanasi.jp/colorscheme/default_install.html<br />Type ":colorscheme NAME". you can change color.<br />
  13. 13. Tips of Mac tarminal<br />command+n<br /> create a new terminal window<br />command+t<br /> create a new tab<br />command+shift+arrow(right or left)<br />move to next tab<br />
  14. 14. Enjoy!!!<br />

×