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
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
Can We Measure Developer Productivity?
ewolff
1
150
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
510
スクラムチームを立ち上げる〜チーム開発で得られたもの・得られなかったもの〜
ohnoeight
2
350
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
490
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
地理情報データをデータベースに格納しよう~ GPUを活用した爆速データベース PG-Stromの紹介 ~
sakaik
1
150
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
5
560
The Role of Developer Relations in AI Product Success.
giftojabu1
0
120
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Featured
See All Featured
Building Your Own Lightsaber
phodgson
103
6.1k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Teambox: Starting and Learning
jrom
133
8.8k
What's in a price? How to price your products and services
michaelherold
243
12k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
How STYLIGHT went responsive
nonsquared
95
5.2k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Automating Front-end Workflow
addyosmani
1366
200k
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?