Giter Site home page Giter Site logo

e-max's Introduction

E-Max

There are several plugins that emulate other editors' keybindings for Sublime Text 2, but only E-Max gives you the maximum amount of E...macs.

Rather than just emulating a few cursor-movement keystrokes inconsistently across platforms, this plugin aims to comprehensively emulate the behavior you're used to, mapping the same relative physical keys the same way on each platform that Sublime supports, so that a true Emacs veteran will instantly feel at home. Kill-ring, swap point and mark, the meta key in the right position (under your thumb), cancel with C-g, isearch with recall: it's all (mostly) there. And if it's not, feel free to send a pull request!

As it was written by a Python programmer, this also includes some Python-specific emacs goodies, like docstring wrapping and some python-specific bindings, such as emulation of python-shift-left/python-shift-right.

E-Max was also designed with courtesy in mind. Pair programming partner doesn't like Emacs? No problem! Just hit a keystroke that all we keyboard contortionists will have no difficulty with – control-meta-shift-quote – and you can instantly disable all emacs-like behavior and go back to the platform- variable Sublime Text defaults.

Installation

Copy all files from this directory into a directory called E-Max in your Sublime Text 2 Packages directory. If you use git, you can do that very easily:

$ cd ~/config/sublime-text-2/Packages $ git clone https://github.com/glyph/E-Max.git

If you do this correctly, you'll then see "E-Max: ON" in the mode line in Sublime.

On Mac OS X and Windows the Packages directory is located elsewhere. You can determine its location from inside Sublime: use "View" / "Show Console" to open the console, paste the command sublime.packages_path() and then press ENTER.

Copyright © 2012

e-max's People

Contributors

glyph avatar radix avatar dustinlacewell avatar dreid avatar nicodoggie avatar terrycojones avatar

Stargazers

GAURAV avatar Matteo avatar Wilfredo Sánchez Vega avatar Tom Walpole avatar  avatar Oscar Campos avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

e-max's Issues

meta option key not working

hi, im trying out sublime and on macs, i can't get the option key to trigger (which is by default emac's meta key). any idea how to go about this? thanks.

Command-C messes up capitlization

While I understand that Emacs uses esc-W for copy, the command-C should either do a copy or nothing. The capitalization behavior messes me up constantly.

Thanks!
Ray

Menu shows unusable keybindings

With E-Max enabled on Linux, Ctrl+O opens a new line above the current one. With E-Max disabled, it opens a new file using the system file dialog.

Regardless, the File menu lists Ctrl+O as the keyboard binding for File/Open. I would expect it to show either nothing, or to have a keyboard binding that works.

Command Palette shows unusable keybindings

With E-Max enabled, use M-x and start typing "Side Bar". On Linux, the command "View : Toggle Side Bar" will come up with the keyboard binding "Ctrl-K, Ctrl-B".

On Linux, this is unusable, since Ctrl-K will kill the line. I would expect either:

a) No keyboard binding at all
b) An updated keyboard binding that works while E-Max is enabled
toggle-side-bar

Changing Meta Key

Hi,

On my Mac and on my VNC-based virtual machine (CentOS) the meta key in E-Max is the command key. In my VMWARE virtual machine (CentOS) the meta key is the option key on my Mac keyboard.

Is there any way to change the key binding in my VMWARE machine to match the behavior of all my other platforms?

Thanks!

Ray

EMAX OFF/ON not working.

I am using EMAX with ST 2.0.2 Build 2221 in Windows 7, but the C-M-Shift-tick does not seem to revert the key bindings. I did notice the EMAX ON/OFF status changing in the footer status bar, but emacs navigation continued to work and C-c does not copy in OFF status.

Also, I have not seen the EMAX ON/OFF status since closing and reopening the programs.

I DID have sublemacspro installed before I installed EMAX. I have since removed that package but the C-M-Shift-' still does not switch modes.

port to sublime text 3

Since it looks like Python 2.x support is dead for future versions of Sublime Text, it would be nice if somebody (A) ported the code here to Python 3 (ideally the compatible 2.6/3.3 language subset), and (B) addressed any API changes in Sublime itself.

I hope very much someone will submit a pull request for this since I don't want to do it personally.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.