All Projects → ataylor284 → emacs-shell-mode-iterm-extensions

ataylor284 / emacs-shell-mode-iterm-extensions

Licence: other
Use iterm terminal extensions in emacs shell mode.

Programming Languages

emacs lisp
2029 projects
shell
77523 projects

Projects that are alternatives of or similar to emacs-shell-mode-iterm-extensions

Base2Tone-iterm2
Syntax highlighting colorschemes for iTerm2
Stars: ✭ 29 (+123.08%)
Mutual labels:  iterm2
dotfiles
My personal (.)dotfiles and configurations for various programs and environments.
Stars: ✭ 34 (+161.54%)
Mutual labels:  iterm2
ssh-tools
😭没找到好用的shell工具✌️自己实现类似Xshell的部分功能
Stars: ✭ 92 (+607.69%)
Mutual labels:  iterm2
ayu-iTerm
ayu color themes for iTerm
Stars: ✭ 120 (+823.08%)
Mutual labels:  iterm2
Efficient-office
Alfred-Workflows,Vim,Script,Mac
Stars: ✭ 36 (+176.92%)
Mutual labels:  iterm2
Terminal-Setup
Best Setup for your terminal for programming on macOS
Stars: ✭ 26 (+100%)
Mutual labels:  iterm2
python-imgcat
🖼 imgcat in Python (for iTerm2)
Stars: ✭ 184 (+1315.38%)
Mutual labels:  iterm2
xontrib-prompt-bar
The bar prompt for xonsh shell with customizable sections and Starship support.
Stars: ✭ 27 (+107.69%)
Mutual labels:  iterm2
dotfiles
🔧 My dotfiles on  macOS for Neovim, Zsh, kitty, lf, etc
Stars: ✭ 90 (+592.31%)
Mutual labels:  iterm2
dotfiles
A place to store config files so I can revert when my entire system crashes from entering the wrong character
Stars: ✭ 25 (+92.31%)
Mutual labels:  iterm2
squidgefiles
Beautiful dotfiles 🦑
Stars: ✭ 20 (+53.85%)
Mutual labels:  iterm2
awesome-xonshrc
👓 🐚 Make your xonsh RC file installable with awesome snippets of code.
Stars: ✭ 43 (+230.77%)
Mutual labels:  iterm2
slab
sudolikeaboss replacement - 1Password utility to interact with iTerm2 and type in your passwords for you.
Stars: ✭ 26 (+100%)
Mutual labels:  iterm2
httpie-image
HTTPie plugin to display images in iTerm2
Stars: ✭ 23 (+76.92%)
Mutual labels:  iterm2
appear
reveal terminal programs in the gui
Stars: ✭ 29 (+123.08%)
Mutual labels:  iterm2
bliss-zsh
A delicate Zsh theme that injects color without overwhelming your workspace
Stars: ✭ 20 (+53.85%)
Mutual labels:  iterm2
catimg
Print an image of a cat to the iTerm2 terminal
Stars: ✭ 13 (+0%)
Mutual labels:  iterm2
iterm2-macos-dynamic-profile
🍎Fix iterm2 macos keys
Stars: ✭ 69 (+430.77%)
Mutual labels:  iterm2
Open-iTerm-or-Terminal-Here...
Generates an Applescript app that you can put in your Finder toolbar which will open an iTerm or Terminal tab at the current directory.
Stars: ✭ 122 (+838.46%)
Mutual labels:  iterm2
dotfiles
My bash / zsh / vim / pry settings
Stars: ✭ 88 (+576.92%)
Mutual labels:  iterm2

emacs-shell-mode-iterm-extensions

This extension to shell mode allows emacs to interpretes some special escape codes (originally from ITerm 2) that allow terminal programs to interact with the terminal in interesting ways.

Installing

In your .emacs or .emacs.d/init.el

(load "iterm.el")

Examples

  • cat a file from a shell prompt

    $ imgcat someimg.jpg

  • bring emacs to the foreground

    $ ./some_time_consuming_script.sh; cat steal_focus.txt

  • change the cursor shape

    $ cat cursor-bar.txt

  • clear the scrollback buffer (i.e. truncate the shell buffer)

    $ cat giant.log $ cat clear-scrollback.txt

  • tell shell-mode what the current directory is

    export PROMPT_COMMAND="echo -ne '\033]50;CurrentDir='; pwd | tr -d '\n'; echo -ne '\007'"

  • set the mark

cat set-mark.txt

See Also

http://iterm2.com/documentation-escape-codes.html

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].