Slide 1

Slide 1 text

Learning Vim in a Week Mike Coutermarsh @mscccc Boston Vim

Slide 2

Slide 2 text

Our Goal: Use @ Work

Slide 3

Slide 3 text

“LEARNING VIM IS HARD”

Slide 4

Slide 4 text

Advice from Tom

Slide 5

Slide 5 text

“Sometimes you gotta work a little so you can ball a lot”

Slide 6

Slide 6 text

INVESTING IN YOURSELF

Slide 7

Slide 7 text

Before you start, you should know.

Slide 8

Slide 8 text

Different from everything you’ve used before 1

Slide 9

Slide 9 text

don’t start @ work 2

Slide 10

Slide 10 text

break up with your 3

Slide 11

Slide 11 text

But can it…? 4 yes, yes it can.

Slide 12

Slide 12 text

Always a better way 5

Slide 13

Slide 13 text

Learn something every week 6

Slide 14

Slide 14 text

LET’S REVIEW

Slide 15

Slide 15 text

1. It’s different 2. Not @ work 3. break up with your 4. But can it…? 5. Always a better way 6. Learn every week

Slide 16

Slide 16 text

Hack your Keyboard

Slide 17

Slide 17 text

Remap Caps Lock to ESC OSX: https://pqrs.org/osx/karabiner/seil.html.en

Slide 18

Slide 18 text

Speed up your key repeat OSX: https://pqrs.org/osx/karabiner/

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

Basics

Slide 21

Slide 21 text

There are Modes

Slide 22

Slide 22 text

Normal Insert Visual

Slide 23

Slide 23 text

Normal Insert Visual

Slide 24

Slide 24 text

Normal Insert Visual

Slide 25

Slide 25 text

Normal Insert Visual

Slide 26

Slide 26 text

Normal Insert Visual

Slide 27

Slide 27 text

Basics

Slide 28

Slide 28 text

Commands

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

C I )

Slide 31

Slide 31 text

C I ) Change

Slide 32

Slide 32 text

C I ) Change Inside

Slide 33

Slide 33 text

C I ) Change Inside Parens

Slide 34

Slide 34 text

C I ) Change Inside Parens

Slide 35

Slide 35 text

C I “

Slide 36

Slide 36 text

C I }

Slide 37

Slide 37 text

D I )

Slide 38

Slide 38 text

Say them in your head

Slide 39

Slide 39 text

Get the Cheat Sheet http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html

Slide 40

Slide 40 text

Configuring Vim

Slide 41

Slide 41 text

~/.vimrc your new best friend

Slide 42

Slide 42 text

version control your vimrc

Slide 43

Slide 43 text

Steal your friends dotfiles

Slide 44

Slide 44 text

Me: https://github.com/mscoutermarsh/dotfiles ! Thoughtbot: https://github.com/thoughtbot/dotfiles

Slide 45

Slide 45 text

Where to actually start learning

Slide 46

Slide 46 text

$ vimtutor do this, a lot

Slide 47

Slide 47 text

vim-adventures.com

Slide 48

Slide 48 text

Screen Casts watch others use Vim

Slide 49

Slide 49 text

VimCasts: http://vimcasts.org/ ! Upcase: https://upcase.com/vim

Slide 50

Slide 50 text

Plugins for development

Slide 51

Slide 51 text

Ctrl-P https://github.com/kien/ctrlp.vim

Slide 52

Slide 52 text

NERDTree https://github.com/scrooloose/nerdtree

Slide 53

Slide 53 text

AG for Vim https://github.com/rking/ag.vim

Slide 54

Slide 54 text

rails.vim https://github.com/tpope/vim-rails

Slide 55

Slide 55 text

vim-rspec https://github.com/thoughtbot/vim-rspec

Slide 56

Slide 56 text

ONE LAST REVIEW

Slide 57

Slide 57 text

1. Caps lock -> ESC 2. Do vimtutor 3. Watch screencasts 4. Steal from your friends 5. Learning vim is a process!

Slide 58

Slide 58 text

FINALLY, COMMIT TO IT

Slide 59

Slide 59 text

✌️ Thanks @mscccc [email protected]