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

Vim for Vendetta

Vim for Vendetta

@budi's Go-Talk, 9 September 2016.

Budi Dharmawan

September 09, 2016
Tweet

Other Decks in Programming

Transcript

  1. @budi // I am not trying to convert you :)

    Be a muslim! Get 72 beautiful virgins for free!* Use Vim! It’s blazing fast!** * They’re probably dudes. ** Sometimes.
  2. @budi // I want to make you curious again. Be

    curious. Explore. Discover. Curiosity = Fuel for development
  3. @budi // Fig. 1 - Vim Learning Curve Wall Effort

    Time Pleasure Point https://robots.thoughtbot.com/the-vim-learning-curve-is-a-myth I disagree, there is a wall.
  4. @budi // If it were a… Vim is.. not a..

    melee weapon katana battle axe gaming device pc console gun sniper shotgun
  5. @budi // The Modes • COMMAND / NORMAL : Hunt

    • INSERT / EDIT : Kill • Visual : Block / Select • Ex : Continuous commands .. and many more (if you want).
  6. @budi // H J K L W T F ?

    Fig. 2 - ADM-3A Terminal
  7. @budi // A U I O I want to edit

    from the end of the line. Click . Edit → → → → → → → → . Edit <END> . Edit <Shift>+<A> . Edit Don’t leave the home row, yo.
  8. @budi // Motion. <operator> → <motion> d = delete command

    w = move forward one word 2w = move forward two words Can you guess if you want to change 2 words backward? d2w = delete two words forward :help motion
  9. @budi // Auto-completion : Neocomplete, YouCompleteMe Git : fugitive Multi-cursor

    : vim-multiple-cursors IDE-like : vim-go, vim-ruby-conque, syntastic Things you can’t live without. :help 42
  10. @budi // Go to places : vim-easymotion PIZZAZ : vim-airline

    Undo tree : Gundo, persistent_undo Snippets : Ultisnips, vim-snipmate Katana Togishi github.com/budi/dotbubu
  11. @budi // Let it grow with you : it’s YOUR

    .vimrc Don’t get overwhelmed : :help! It’s not about speed : relax Last words Spend less energy battling with your keyboard.