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
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
390
JaSST 24 九州:ワークショップ(は除く)実践!マインドマップを活用したソフトウェアテスト+活用事例
satohiroyuki
0
260
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
140
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
350
offers_20241022_imakiire.pdf
imakurusu
2
360
Vaporモードを大規模サービスに最速導入して学びを共有する
kazukishimamoto
4
4.3k
シールドクラスをはじめよう / Getting Started with Sealed Classes
mackey0225
3
400
プロジェクト新規参入者のリードタイム短縮の観点から見る、品質の高いコードとアーキテクチャを保つメリット
d_endo
1
1k
現場で役立つモデリング 超入門
masuda220
PRO
13
2.9k
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
340
のびしろを広げる巻き込まれ力:偶然を活かすキャリアの作り方/oso2024
takahashiikki
1
410
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
150
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
[RailsConf 2023] Rails as a piece of cake
palkan
51
4.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
49k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Happy Clients
brianwarren
97
6.7k
YesSQL, Process and Tooling at Scale
rocio
167
14k
The Cult of Friendly URLs
andyhume
78
6k
The Power of CSS Pseudo Elements
geoffreycrofte
72
5.3k
Building Applications with DynamoDB
mza
90
6.1k
Into the Great Unknown - MozCon
thekraken
31
1.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