All Projects → frobware → Cmd Key Happy

frobware / Cmd Key Happy

Licence: mit
Swap cmd and alt keys in Terminal (useful when running emacs over ssh)

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Cmd Key Happy

Nord Emacs
An arctic, north-bluish clean and elegant Emacs theme.
Stars: ✭ 379 (+200.79%)
Mutual labels:  terminal, emacs
Shell Pop El
shell-pop.el helps you to use shell easily on Emacs. Only one key action to work.
Stars: ✭ 171 (+35.71%)
Mutual labels:  terminal, emacs
Dracula Theme
🧛🏻‍♂️ One theme. All platforms.
Stars: ✭ 17,480 (+13773.02%)
Mutual labels:  terminal, emacs
Emacs Libvterm
Emacs libvterm integration
Stars: ✭ 929 (+637.3%)
Mutual labels:  terminal, emacs
Vterm Toggle
toggles between the vterm buffer and whatever buffer you are editing.
Stars: ✭ 85 (-32.54%)
Mutual labels:  terminal, emacs
Dte
A small, configurable console text editor (moved to https://gitlab.com/craigbarnes/dte)
Stars: ✭ 98 (-22.22%)
Mutual labels:  terminal, emacs
Dotfiles
👾 ~/
Stars: ✭ 91 (-27.78%)
Mutual labels:  terminal, emacs
Emacs Application Framework
A free/libre and open-source extensible framework that revolutionizes the graphical capabilities of Emacs, the key to ultimately Live in Emacs
Stars: ✭ 1,932 (+1433.33%)
Mutual labels:  terminal, emacs
Gsoc Organisation Scraper
Scrape GSoC organisations using a single script.
Stars: ✭ 121 (-3.97%)
Mutual labels:  terminal
Tty Pie
Draw pie charts in your terminal window
Stars: ✭ 125 (-0.79%)
Mutual labels:  terminal
Emacs Solidity
The official solidity-mode for EMACS
Stars: ✭ 120 (-4.76%)
Mutual labels:  emacs
Fancy Git
That's a simple prompt changer to show a few cool git informations about your repository on terminal. You can choose among 13 styles and enjoy all the aliases it provides you. Feel free for contributing, pull requests and issues are always welcome! ;)
Stars: ✭ 123 (-2.38%)
Mutual labels:  terminal
Destroyer
🔮💀🔮 Open-source lossless audio player
Stars: ✭ 125 (-0.79%)
Mutual labels:  mac-osx
Alpine Term
Repository has been moved.
Stars: ✭ 121 (-3.97%)
Mutual labels:  terminal
Nnn
n³ The unorthodox terminal file manager
Stars: ✭ 13,138 (+10326.98%)
Mutual labels:  terminal
Novels.org
Novels.org - Your Novels in Plain Text (Emacs . org-mode)
Stars: ✭ 120 (-4.76%)
Mutual labels:  emacs
Walkman
Write HTTP requests in Org mode and replay them at will using cURL
Stars: ✭ 120 (-4.76%)
Mutual labels:  emacs
Mypy boto3 builder
Type annotations builder for boto3 compatible with VSCode, PyCharm, Emacs, Sublime Text, pyright and mypy.
Stars: ✭ 123 (-2.38%)
Mutual labels:  emacs
Tmux Config
📗 Example tmux configuration - screen + vim key-bindings, system stat, cpu load bar.
Stars: ✭ 1,633 (+1196.03%)
Mutual labels:  terminal
Unibits
Visualize different Unicode encodings in the terminal
Stars: ✭ 125 (-0.79%)
Mutual labels:  terminal

Build Status

Swap cmd and alt (or command and option) keys in Mac OS X (macOS).

This program allows you to swap the command and alt (or option) keys in any application, but in particular Terminal.app. This can be extremely handy when ssh'ing into other UN*X boxes and running "emacs -nw". It also allows you to have the traditional readline navigation work properly when using Bash (i.e., alt-backspace, alt-f, alt-b, etc) in the Terminal.

The decision to swap the keys is based on a customizable script (Lua). This script allows you to exclude certain key combinations per application, or globally. For example, "cmd-tab" is an exclusion in my Lua script regardless of which application is running, as I still want this key combination to cycle the active set of applications. I have "cmd-c" and "cmd-v" as exclusions when the front most application is the Terminal -- these combinations are so universal that I find it easier to leave them as they are -- but all other key combinations involving the cmd key get swapped with alt.

The motivation for this program was the many years of hitting alt- in Linux only to find that it does not generate the same behaviour in Terminal.app. Having the ability to run "emacs -nw" from within Terminal.app is now useable!

Mavericks

If you upgrade to Mavericks you'll get the following error "failed to create event tap!" when cmd-key-happy starts. The granularity of using the accessibility APIs which is what cmd-key-happy depends on is both different and now much finer. To fix this please reread the INSTALL file.

Note (1 Feb 2017): I rewrote this in C++ (see cpp directory) some years ago and it is probably the better implementation for newer versions of macOS but I never promoted it as I have stopped using macOS on a regular basis.

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].