Skip to content

Instantly share code, notes, and snippets.

@Alfredo289
Alfredo289 / tmux-cheatsheet.markdown
Created May 19, 2025 05:36 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@Alfredo289
Alfredo289 / MenuBarApp.swift
Created March 18, 2025 23:34 — forked from sindresorhus/MenuBarApp.swift
Dream API for macOS menu bar apps
@main
struct MyApp: App {
var body: some Scene {
StatusBar {
StatusItem(id: "foo", systemImage: "gear") {
Menu {
Button("Toggle") {}
Divider()
Button("Quit") {}
}
@Alfredo289
Alfredo289 / MenuBarApp.swift
Created March 18, 2025 23:34 — forked from sindresorhus/MenuBarApp.swift
Dream API for macOS menu bar apps
@main
struct MyApp: App {
var body: some Scene {
StatusBar {
StatusItem(id: "foo", systemImage: "gear") {
Menu {
Button("Toggle") {}
Divider()
Button("Quit") {}
}
@Alfredo289
Alfredo289 / iterm2.md
Created February 25, 2025 17:36 — forked from squarism/iterm2.md
An iTerm2 Cheatsheet

Tabs and Windows

Function Shortcut
New Tab + T
Close Tab or Window + W (same as many mac apps)
Go to Tab + Number Key (ie: ⌘2 is 2nd tab)
Go to Split Pane by Direction + Option + Arrow Key
Cycle iTerm Windows + backtick (true of all mac apps and works with desktops/mission control)