Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How To Quit Vim and other CLI Fu

mikebell
April 03, 2014

How To Quit Vim and other CLI Fu

Basic introduction to the command line and the cool things you can do with it.

mikebell

April 03, 2014
Tweet

More Decks by mikebell

Other Decks in Technology

Transcript

  1. HOW TO QUIT VIM! AND OTHER COMMAND LINE FU

  2. WHO? Name - Mike Bell Twitter - Drupal.org - Github

    - Where - CTI Digital - Drupal Technical Architect @mikebell_ mikebell_ mikebell
  3. ANCIENT CHINESE PROVERB: For a truly unique string ask a

    student to quit vim
  4. IN REALITY... :q is all you need :wq to save

    :q! when you're editing a file as sudo :wq! to save a file when editing as sudo
  5. THANKS... ANY QUESTIONS?

  6. MORE TO THE COMMANDLINE Your mileage may vary based on

    OS
  7. SHELLS Standard - Bash - https://www.gnu.org/software/bash/bash.html Awesome - ZSH -

    http://www.zsh.org/ Windows Standard- DOS Windows New - Powershell
  8. CLI PACKAGE MANAGERS APT Yum Brew (or MacPorts)

  9. PHP CLI PECL/Pear - package managers php - itself composer

    - libs and easy autoloading sf2 app/console - drush for symfony2 stuff
  10. COOL THINGS cmatrix cowsay

  11. HANDY CLI TOOLS Ack - grep replacement Ack for Drupal

    - .acrkc customisation Screen
  12. DRUSH A given in drupal drushcommands.com Drush autocomplete!

  13. OH-MY-ZSH ZSH on steroids Plugins and Themes

  14. OH-MY-ZSH PLUGINS Git Composer Symfony 2

  15. DOTFILES FOR NOOBS What are they? Where are they? More

    Info - http://dotfiles.github.io/
  16. ITERM2 - TERMINAL++ Layouts Visor

  17. GIT EXTRAS Cool tools missing from git https://github.com/visionmedia/git-extras Changelog -

    git changelog Summaries and Statistics - git summary / git info
  18. MISC KEYBOARD GOODIES Ctrl/Cmd on Forms - does magical things

    Most popular sites have shortcuts - shift + ? on github
  19. SHARING IS CARING! Any other examples?

  20. THANKS... ANY QUESTIONS?