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
150
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
68
Other Decks in Technology
See All in Technology
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
560
20241220_S3 tablesの使い方を検証してみた
handy
4
400
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
760
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
120
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
480
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
260
Wantedly での Datadog 活用事例
bgpat
1
440
継続的にアウトカムを生み出し ビジネスにつなげる、 戦略と運営に対するタイミーのQUEST(探求)
zigorou
0
540
Storage Browser for Amazon S3
miu_crescent
1
140
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
350
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
427
64k
YesSQL, Process and Tooling at Scale
rocio
169
14k
4 Signs Your Business is Dying
shpigford
181
21k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
The Language of Interfaces
destraynor
154
24k
For a Future-Friendly Web
brad_frost
175
9.4k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5k
Statistics for Hackers
jakevdp
796
220k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Designing on Purpose - Digital PM Summit 2013
jponch
116
7k
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?