Slide 1

Slide 1 text

Vim, Tmux and Rails

Slide 2

Slide 2 text

Pau Pérez Backend developer at Redbooth @prez_pau

Slide 3

Slide 3 text

Tmux workflow

Slide 4

Slide 4 text

Sessions Session per repo Switch context easily

Slide 5

Slide 5 text

Sessions Attach or create tmux session named after the current directory $ tat tmux new-session -As "$(basename "$PWD" | tr . -)"

Slide 6

Slide 6 text

Windows 1 - First vim 2 - then playground 3 - server 4 - and others

Slide 7

Slide 7 text

Panes One-time tasks

Slide 8

Slide 8 text

Zoom Temporally focus on something Find something in a large output

Slide 9

Slide 9 text

Visual Select ! Yank and paste in tmux! Don't touch the mouse anymore!

Slide 10

Slide 10 text

Vim mode Vim to the rescue everywhere!

Slide 11

Slide 11 text

Plugins

Slide 12

Slide 12 text

Thyme ! timer with Tmux integration

Slide 13

Slide 13 text

Powerline Pomodoro timer Coolness

Slide 14

Slide 14 text

Vim

Slide 15

Slide 15 text

Plugins

Slide 16

Slide 16 text

Vim Ruby Syntah highlighting Smart indenting Shift + Enter

Slide 17

Slide 17 text

I ❤ Vim Rspec TDD without leaving Vim

Slide 18

Slide 18 text

Vim Rails Highligthing plus navigation

Slide 19

Slide 19 text

Vim Reek Execute reek in a file

Slide 20

Slide 20 text

Vim Abolish Substitution Coercion * crs: snake_case * crm: MixedCase * crc: camelCase * cru: UPPER_CASE

Slide 21

Slide 21 text

Vim Endwise Adds end for do, def, etc.

Slide 22

Slide 22 text

Vim Blockle From do end to {}

Slide 23

Slide 23 text

Argumentrewrap foo(bar, baz, blub) foo( bar, baz, blub )

Slide 24

Slide 24 text

Snippets and others UltiSnips + Vim Snippets desc, cont, its, subj mod, class, def bb