Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vim, Tmux and Rails
Search
Pau Pérez
May 20, 2016
Programming
3
180
Vim, Tmux and Rails
My daily day Rails development with Vim and Tmux
Pau Pérez
May 20, 2016
Tweet
Share
More Decks by Pau Pérez
See All by Pau Pérez
Percona Migrator: an ActiveRecord adapter for online MySQL migrations
sauloperez
1
67
Design Principles
sauloperez
1
130
Renewable Energy Distribution Map of Catalan Homes
sauloperez
1
57
Other Decks in Programming
See All in Programming
php-conference-japan-2024
tasuku43
0
250
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
わたしの星のままで一番星になる ~ 出産を機にSIerからEC事業会社に転職した話 ~
kimura_m_29
0
180
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
130
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
740
Go の GC の不得意な部分を克服したい
taiyow
2
780
Symfony Mapper Component
soyuka
2
730
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
BBQ
matthewcrist
85
9.4k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
How STYLIGHT went responsive
nonsquared
95
5.2k
Facilitating Awesome Meetings
lara
50
6.1k
Transcript
Vim, Tmux and Rails
Pau Pérez Backend developer at Redbooth @prez_pau
Tmux workflow
Sessions Session per repo Switch context easily
Sessions Attach or create tmux session named after the current
directory $ tat tmux new-session -As "$(basename "$PWD" | tr . -)"
Windows 1 - First vim 2 - then playground 3
- server 4 - and others
Panes One-time tasks
Zoom Temporally focus on something Find something in a large
output
Visual Select ! Yank and paste in tmux! Don't touch
the mouse anymore!
Vim mode Vim to the rescue everywhere!
Plugins
Thyme ! timer with Tmux integration
Powerline Pomodoro timer Coolness
Vim
Plugins
Vim Ruby Syntah highlighting Smart indenting Shift + Enter
I ❤ Vim Rspec TDD without leaving Vim
Vim Rails Highligthing plus navigation
Vim Reek Execute reek in a file
Vim Abolish Substitution Coercion * crs: snake_case * crm: MixedCase
* crc: camelCase * cru: UPPER_CASE
Vim Endwise Adds end for do, def, etc.
Vim Blockle From do end to {}
Argumentrewrap foo(bar, baz, blub) foo( bar, baz, blub )
Snippets and others UltiSnips + Vim Snippets desc, cont, its,
subj mod, class, def bb