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
51
Capistrano vs Mina: Capistrano demo talk
brunosutic
0
420
Configuring tmux
brunosutic
0
69
Introduction to Arel
brunosutic
1
180
Deploying Rails apps with Capistrano
brunosutic
0
68
Other Decks in Technology
See All in Technology
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
9
1k
Amplify Gen2 Deep Dive / バックエンドの型をいかにしてフロントエンドへ伝えるか #TSKaigi #TSKaigiKansai #AWSAmplifyJP
tacck
PRO
0
380
Amazon Personalizeのレコメンドシステム構築、実際何するの?〜大体10分で具体的なイメージをつかむ〜
kniino
1
100
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
610
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
130
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
iOSチームとAndroidチームでブランチ運用が違ったので整理してます
sansantech
PRO
0
140
Platform Engineering for Software Developers and Architects
syntasso
1
520
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
Engineer Career Talk
lycorp_recruit_jp
0
170
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
Featured
See All Featured
The Language of Interfaces
destraynor
154
24k
Building Applications with DynamoDB
mza
90
6.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
What's new in Ruby 2.0
geeforr
343
31k
Making Projects Easy
brettharned
115
5.9k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
24k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
Designing the Hi-DPI Web
ddemaree
280
34k
Statistics for Hackers
jakevdp
796
220k
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?