Emacs Console Helper Scripts
Collection of helper scripts to launch Emacs in terminal mode (-nw) with specific configurations.
Installation
Add this directory to your PATH:
export PATH="$HOME/.emacs.d/bin:$PATH"
Add to your shell configuration file (~/.bashrc, ~/.zshrc, etc.) to make it permanent.
Main Launcher
em - Universal Emacs launcher
The main entry point for all modes. Usage:
em [mode] [args...]
Without arguments, launches standard Emacs in terminal mode.
Available Modes
em mail # Launch mu4e email client
RSS Feeds
em feeds # Launch Elfeed RSS reader
Development
em dev # Launch with development environment
em dev project/ # Open specific project in dev mode
Git
em magit # Launch Magit in current directory
em magit /path/to/repo # Launch Magit in specific repository
File Comparison
em compare file1 file2 # Compare two files using ediff
File Manager
em dired # Launch Dired in current directory
em dired /path/to/dir # Launch Dired in specific directory
Portfolio Tracker
em portfolio # Launch portfolio tracker
Org Mode
em org # Launch Org agenda
em org notes.org # Open/create specific org file
Terminal
em terminal # Launch terminal emulator in Emacs
Quick Mode
em quick # Launch without configuration (emacs -Q)
em quick file.txt # Quick edit without loading config
Individual Scripts
You can also use the scripts directly:
emacs-mail- Email clientemacs-feeds- RSS readeremacs-dev- Development environmentemacs-magit- Git interfaceemacs-compare- File comparisonemacs-dired- File manageremacs-portfolio- Portfolio trackeremacs-org- Org modeemacs-terminal- Terminal emulatoremacs-quick- Quick mode without config
Examples
# Quick email check
em mail
# Work on a project
em dev ~/projects/myapp
# Compare configuration files
em compare config.old config.new
# Quick file edit without loading full config
em quick /etc/hosts
# Manage git repository
em magit ~/projects/myapp
# Browse files
em dired ~/Documents
Tips
- Use
em quickfor system file edits or when you need fast startup - The dev mode automatically enables modern development features and Treemacs
- All modes support standard Emacs command-line arguments
- Scripts preserve terminal mode (
-nw) for console usage