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
70
Design Principles
sauloperez
1
140
Renewable Energy Distribution Map of Catalan Homes
sauloperez
1
63
Other Decks in Programming
See All in Programming
Railsアプリケーションと パフォーマンスチューニング ー 秒間5万リクエストの モバイルオーダーシステムを支える事例 ー Rubyセミナー 大阪
falcon8823
5
1.1k
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
1
190
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
2
200
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
940
dbt民主化とLLMによる開発ブースト ~ AI Readyな分析サイクルを目指して ~
yoshyum
3
1.1k
PicoRuby on Rails
makicamel
2
130
Flutterで備える!Accessibility Nutrition Labels完全ガイド
yuukiw00w
0
170
Team operations that are not burdened by SRE
kazatohiei
1
320
テスト駆動Kaggle
isax1015
1
440
型で語るカタ
irof
0
200
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
2
540
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
660
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1031
460k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
46
9.6k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
GraphQLとの向き合い方2022年版
quramy
49
14k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Scaling GitHub
holman
460
140k
Building Adaptive Systems
keathley
43
2.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Side Projects
sachag
455
42k
Fireside Chat
paigeccino
37
3.5k
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