0
PIMP ZHNG YOUR VIM  make your vim really powerful ah!
CALVIN CHENG     www.calvinx.comwww.od-eon.com/blogs/calvin
1   What is Simi si vim?         2   Installing vim                    3   The Basics
4   git + pathogen + vim        5   python + vim                 6                     Compile source
7   Funny vim
1What is Simi si vim?
Simple, powerful, customizable text editor
2Installing vim
Linux: binary via package managers or compile from source Mac OS X (unix-style OS): via package managers or compile from s...
3The Basics
Start point for beginnersvimtutor
Modes you will become familiar withnormal modevisual modeselect modeoperator pending modeinsert modecommand-line mode
Customization (Where you begin ‘zhng-ing’).vimrc.vim directory
4git + pathogen + vim
What is pathogen.vim?Manage your runtime pathsClean organization of your vim pluginsNo more manual plugin upgrades!
Getting infected with pathogen Install to ~/.vim/autoload/pathogen.vimHow:  mkdir -p ~/.vim/{autoload,bundle}  curl -so ~/...
Getting infected with pathogenAdd this to your .vimrc file:call pathogen#infect()
Managing plugins with git - super easy!cd ~/.vim/bundlegit clone git://github.com/tpope/vim-fugitive.git
Some of my favorite pluginsConque-ShellIndentAnythingfugitivenerdcommenternerdtreepython.vimdjango.vimvim-javascriptmxml.vim
5python + vim
You know the drill...cd ~/.vim/bundlegit clone https://github.com/vim-scripts/python.vim--Vasiliev.git python.vim
Not just Python syntax/indentation support
6compile vim from source
Default binary package may not have all features+clipboard+X11+python+python3+ruby... etc
Take matters into your own hands!Compile from sourceTraditional compilation, download package, ./configure [option]Or if y...
7Funny vim
Great community, Great sense of humor:help 42:help!:help quotes:help holy-grail
Great community, Great sense of humor#vim on irc freenodehttp://vim.wikia.com
Stefan Talpalaru   Liviu Bogdan Chiributa        Chng Nai Yun   That’s Me! :-)                                    + ........
Questions and Discussion welcome!    calvin.cheng@od-eon.com
zhng your vim
zhng your vim
zhng your vim
zhng your vim
Upcoming SlideShare
Loading in...5
×

zhng your vim

1,286

Published on

Customize the lightweight, versatile and powerful vim editor!

It's a programmable editor that has a great sense of humor. What else can you ask for? ;-)

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

No Downloads
Views
Total Views
1,286
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript of "zhng your vim"

    1. 1. PIMP ZHNG YOUR VIM make your vim really powerful ah!
    2. 2. CALVIN CHENG www.calvinx.comwww.od-eon.com/blogs/calvin
    3. 3. 1 What is Simi si vim? 2 Installing vim 3 The Basics
    4. 4. 4 git + pathogen + vim 5 python + vim 6 Compile source
    5. 5. 7 Funny vim
    6. 6. 1What is Simi si vim?
    7. 7. Simple, powerful, customizable text editor
    8. 8. 2Installing vim
    9. 9. Linux: binary via package managers or compile from source Mac OS X (unix-style OS): via package managers or compile from source Windows binary or compile from source or just hop over to http://www.vim.org/Example: sudo aptitude install vim sudo pacman -S vim sudo port install vim
    10. 10. 3The Basics
    11. 11. Start point for beginnersvimtutor
    12. 12. Modes you will become familiar withnormal modevisual modeselect modeoperator pending modeinsert modecommand-line mode
    13. 13. Customization (Where you begin ‘zhng-ing’).vimrc.vim directory
    14. 14. 4git + pathogen + vim
    15. 15. What is pathogen.vim?Manage your runtime pathsClean organization of your vim pluginsNo more manual plugin upgrades!
    16. 16. Getting infected with pathogen Install to ~/.vim/autoload/pathogen.vimHow: mkdir -p ~/.vim/{autoload,bundle} curl -so ~/.vim/autoload/pathogen.vim https://raw.github.com/tpope/vim-pathogen/HEAD/autoload/pathogen.vim
    17. 17. Getting infected with pathogenAdd this to your .vimrc file:call pathogen#infect()
    18. 18. Managing plugins with git - super easy!cd ~/.vim/bundlegit clone git://github.com/tpope/vim-fugitive.git
    19. 19. Some of my favorite pluginsConque-ShellIndentAnythingfugitivenerdcommenternerdtreepython.vimdjango.vimvim-javascriptmxml.vim
    20. 20. 5python + vim
    21. 21. You know the drill...cd ~/.vim/bundlegit clone https://github.com/vim-scripts/python.vim--Vasiliev.git python.vim
    22. 22. Not just Python syntax/indentation support
    23. 23. 6compile vim from source
    24. 24. Default binary package may not have all features+clipboard+X11+python+python3+ruby... etc
    25. 25. Take matters into your own hands!Compile from sourceTraditional compilation, download package, ./configure [option]Or if you use linux OSes with powerful build tools (e.g. ABS forArch, emerge/ebuild for Gentoo)Specify specific features/options to be enabled duringcompilation, e.g. in PKGBUILD for arch
    26. 26. 7Funny vim
    27. 27. Great community, Great sense of humor:help 42:help!:help quotes:help holy-grail
    28. 28. Great community, Great sense of humor#vim on irc freenodehttp://vim.wikia.com
    29. 29. Stefan Talpalaru Liviu Bogdan Chiributa Chng Nai Yun That’s Me! :-) + ........
    30. 30. Questions and Discussion welcome! calvin.cheng@od-eon.com
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×