emacs-anywhere

(★ 32)

Edit text from any macOS application in Emacs.

File Explorer

  • emacs-anywhere.gif
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

brew install

View Details ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

emacs

View Details ▼

The extensible, customizable, self-documenting, real-time display editor.
See also: `emacsclient`.

emacs {{path/to/file}}

Start Emacs and open a file:

emacs +{{line_number}} {{path/to/file}}

Open a file at a specified line number:

emacs --script {{path/to/file.el}}

Run an Emacs Lisp file as a script:

🔍

emacsclient

View Details ▼

Open files in an existing Emacs server.
See also: `emacs`.

emacsclient {{path/to/file}}

Open a file in an existing Emacs server (using GUI if available):

emacsclient {{[-nw|--no-window-system]}} {{path/to/file}}

Open a file in console mode (without an X window):

emacsclient {{[-c|--create-frame]}} {{path/to/file}}

Open a file in a new Emacs window:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

shift

View Details ▼

Move positional parameters.

shift

Remove the first positional parameter:

shift {{n}}

Remove the first `n` positional parameters:

🔍

yabai

View Details ▼

A tiling window manager for macOS based on binary space partitioning.

yabai -m config layout {{bsp|stack|float}}

Send a config [m]essage for setting the layout:

yabai -m config window_gap {{10}}

Set the window gap in pt:

yabai -m config window_opacity on

Enable opacity:

// repository documentation