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
56
Other Decks in Programming
See All in Programming
Kubernetes for Data Engineers: Building Scalable, Reliable Data Pipelines
sucitw
1
200
Nuxtベースの「WXT」でChrome拡張を作成する | Vue Fes 2024 ランチセッション
moshi1121
1
520
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
Realtime API 入門
riofujimon
0
110
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
340
僕がつくった48個のWebサービス達
yusukebe
18
17k
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
210
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
23
11k
Vue.js学習の振り返り
hiro_xre
2
130
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
1
290
Tuning GraphQL on Rails
pyama86
2
1k
OpenTelemetryでRailsのパフォーマンス分析を始めてみよう(KoR2024)
ymtdzzz
4
1.6k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Docker and Python
trallard
40
3.1k
What's new in Ruby 2.0
geeforr
342
31k
Building Your Own Lightsaber
phodgson
102
6k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
325
24k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
Code Reviewing Like a Champion
maltzj
519
39k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
370
Making the Leap to Tech Lead
cromwellryan
132
8.9k
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