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
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
720
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
たのしいparse.y
ydah
3
120
「Chatwork」Android版アプリを 支える単体テストの現在
okuzawats
0
180
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
730
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Featured
See All Featured
Side Projects
sachag
452
42k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Six Lessons from altMBA
skipperchong
27
3.5k
The Language of Interfaces
destraynor
154
24k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Gamification - CAS2011
davidbonilla
80
5.1k
Typedesign – Prime Four
hannesfritz
40
2.4k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
The World Runs on Bad Software
bkeepers
PRO
65
11k
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