Use Atom and Emacs as one editor
A collection of packages to make Atom and Emacs behave as one editor. Atom is turned more Emacs-like, and Emacs is used for a terminal editor.
Why did I do this? Because Atom is a good graphical editor (theme support, linting, multicursors, etc.), but Emacs has better layout and keybindings. Also for using Emacs in the terminal for quick edits. I want the editors between graphical and terminal to be more similar.
This requires that you have atom
, emacs
, and bash
installed.
You can install etmo through npm:
$ npm i -g jamen/etmo
Or clone the repo and link etmo.sh
into your PATH
:
$ ln -s bin/etmo.sh ~/.local/bin/etmo # User bin
$ ln -s bin/etmo.sh /usr/local/bin/etmo # Or system bin
To start etmo in the terminal (as Emacs) you run:
$ etmo file
To start as a graphical process (as Atom) you run:
$ etmo -a file
This uses separate configs from your own so it doesnt conflict, but there is extra files included in these for compatibility between Atom and Emacs. The etmo config files are at:
~/.config/etmo
├── .atom
├── .config -> ~/.config
└── .emacs.d
You can install separate packages for Atom and Emacs, but try not to break the continuity.
To uninstall (or reinstall) run:
# Uninstall atomacs
$ rm -rf ~/.config/etmo
# Install fresh copy
$ sh bin/etmo-update.sh
These are destructive actions. Make sure you have copied anything you want to save.