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
Tmux osnove
Search
Bruno Sutic
October 24, 2014
Technology
0
160
Tmux osnove
Bruno Sutic
October 24, 2014
Tweet
Share
More Decks by Bruno Sutic
See All by Bruno Sutic
Readline + irb/pry = <3
brunosutic
0
100
Moreutils
brunosutic
0
42
The venerable "expect"
brunosutic
0
52
Capistrano vs Mina: Capistrano demo talk
brunosutic
0
420
Configuring tmux
brunosutic
0
69
Introduction to Arel
brunosutic
1
190
Deploying Rails apps with Capistrano
brunosutic
0
69
Other Decks in Technology
See All in Technology
Godot Engineについて調べてみた
unsoluble_sugar
0
360
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
120
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
150
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
120
20240513 - 框裡框外_文學院學生如何在AI世代安身立命 @ 淡江大學
dpys
0
650
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
110
The future we create with our own MVV
matsukurou
0
1.9k
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
6
6.2k
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
430
20241228 - 成為最強魔法使!AI 實時生成比賽的策略 @ 2024 SD AI 年會
dpys
0
350
実践! ソフトウェアエンジニアリングの価値の計測 ── Effort、Output、Outcome、Impact
nomuson
0
2k
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
160
Featured
See All Featured
Scaling GitHub
holman
459
140k
Building an army of robots
kneath
302
45k
Automating Front-end Workflow
addyosmani
1366
200k
Why Our Code Smells
bkeepers
PRO
335
57k
A Philosophy of Restraint
colly
203
16k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Agile that works and the tools we love
rasmusluckow
328
21k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
950
Designing Experiences People Love
moore
139
23k
Music & Morning Musume
bryan
46
6.3k
The World Runs on Bad Software
bkeepers
PRO
66
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
Transcript
Tmux osnove
Bruno Sutic Rails & Javascript developer Ideal Project Group,
Chicago github.com/bruno- @brunosutic Tmux plugini: github.com/tmux-plugins Command line junkie
Problem sa terminal aplikacijom? • managiranje (velikog) broja terminala •
primjer terminala za samo 1 projekt
Problem sa terminal aplikacijom? • primjer terminali za više projekata
Rješenje? Tmux - terminal multiplexer • Osnovni fičeri: • više
terminala unutar jednog • “splits” horizontalni i vertikalni • “sessions” grupe prozora/terminala • “vrti” se u pozadini sve dok je komp upaljen • Ostali napredni fičeri
Instalacija Tmux-a • Mac $ brew install tmux $
brew install reattach-to-user-namespace (fixes pbpaste) • Linux $ apt-get install -y tmux
Preporučena konfiguracija • ~/.tmux.conf - tmux config file • remapirat
defaultni “prefix” sa Ctrl-b na Ctrl-a • set -g prefix C-a # in .tmux.conf • remapirat Caps Lock na Ctrl (na OS levelu)
Demo: pokretanje tmux-a • samo utipkajte $ tmux
Demo: stvaranje novih “windowa” • prefix + c
Demo: navigacija po “windowima” • prošli prozor: prefix + p
• slijedeći prozor: prefix + n • određeni prozor: prefix + <broj>
Demo: splits • vertikalni split: prefix + % • horizontalni
split: prefix + “ *neobičan odabir tipki
Demo: navigacija po splitovima • prefix + <strelica>
Demo: kreiranje “sessiona” • prefix + :new -s session_name *prilično
nezgodno
Demo: navigacija po sessionima • switchanje sessiona: prefix + s
• navigacija sessiona: j, k (ili strelice)
Demo: “detachanje” iz tmux-a • detach: prefix + d •
attach: $ tmux attach
Tmux demo sažetak • manipulacija “windowima” • manipulacija splitovima •
manipulacija sessionima • čudni defaulti => konfiguracija Tmux-a
Sljedeći koraci? • tmux copy mode (scrolling) • konfiguracija tmux-a
(sljedeća prezentacija) • $ man tmux • knjiga • plugini? https://github.com/tmux-plugins
Pitanja?