Code Monkey home page Code Monkey logo

atomic-emacs's Introduction

Atomic Emacs

An atomic implementation of emacs keybindings. Build Status

Important Note

I love emacs, but this package will never implement all of emacs' features. It only aims to provide a reasonable set of default emacs keybindings so that emacs refugees might find themselves at home.

OSX already provides emacs-like keybindings to Atom, and those are not reimplemented in this package. This might, however, cause a problem later on when Atom becomes available at other platforms. Once that time comes, I will gladly include those keybindings in this package.

Current Status

It's super incomplete, very alpha stage. Basically, just these:

  • 'ctrl-f': 'atomic-emacs:forward-char'
  • 'ctrl-b': 'atomic-emacs:backward-char'
  • 'ctrl-n': 'atomic-emacs:next-line'
  • 'ctrl-p': 'atomic-emacs:previous-line'
  • 'ctrl-a': 'atomic-emacs:move-beginning-of-line'
  • 'ctrl-e': 'atomic-emacs:move-end-of-line'
  • 'ctrl-l': 'atomic-emacs:recenter-top-bottom'
  • 'ctrl-g': 'atomic-emacs:remove-mark'
  • 'ctrl-k': 'editor:cut-to-end-of-line'
  • 'ctrl-y': 'core:paste'
  • 'ctrl-w': 'atomic-emacs:kill-region'
  • 'ctrl-v': 'atomic-emacs:scroll-up'
  • 'ctrl-s': 'find-and-replace:show'
  • 'ctrl-r': 'find-and-replace:show'
  • 'ctrl-j': 'editor:newline'
  • 'ctrl-/': 'core:undo'
  • 'ctrl-o': 'atomic-emacs:open-line'
  • 'ctrl-t': 'atomic-emacs:transpose-chars'
  • 'ctrl-_': 'core:undo'
  • 'ctrl-space': 'atomic-emacs:set-mark'
  • 'ctrl-x ctrl-s': 'core:save'
  • 'ctrl-x ctrl-u': 'atomic-emacs:upcase-region'
  • 'ctrl-x ctrl-l': 'atomic-emacs:downcase-region'
  • 'ctrl-x ctrl-t': 'atomic-emacs:transpose-lines'
  • 'ctrl-x h': 'atomic-emacs:mark-whole-buffer'
  • 'ctrl-x ctrl-x': 'atomic-emacs:exchange-point-and-mark'
  • 'alt-f': 'atomic-emacs:forward-word'
  • 'alt-b': 'atomic-emacs:backward-word'
  • 'alt-q': 'autoflow:reflow-selection'
  • 'atl-t': 'atomic-emacs:transpose-words'
  • 'alt-w': 'atomic-emacs:copy'
  • 'alt-;': 'editor:toggle-line-comments'
  • 'alt-v': 'atomic-emacs:scroll-down'
  • 'alt-<': 'atomic-emacs:beginning-of-buffer'
  • 'alt->': 'atomic-emacs:end-of-buffer'
  • 'alt-m': 'atomic-emacs:back-to-indentation'
  • 'alt-/': 'autocomplete:toggle'
  • 'alt-.': 'symbols-view:toggle-file-symbols'
  • 'alt-\': 'atomic-emacs:delete-horizontal-space'
  • 'alt-space': 'atomic-emacs:just-one-space'
  • 'alt-{': 'atomic-emacs:backward-paragraph'
  • 'alt-}': 'atomic-emacs:forward-paragraph'

Configuration options

You can opt to use native navigation keys for ctrl-n,p,b, and f:

  "atomic-emacs":
    useNativeNavigationKeys: false

This would cause the marks to not work properly, but it's reportedly the workaround to #37.

Future Work

Version 1.0.0 should be somewhat close to what sublemacspro currently has as of time of writing (03/04/14), and then improve further based on that. Next up are:

  • Kill ring
  • Macros
  • Motion commands for other platforms (OSX has the basic emacs motion commands by default)

Contributing

Yes please!

atomic-emacs's People

Contributors

avendael avatar oggy avatar mndrix avatar pavloo avatar aki77 avatar asutherland avatar dylnclrk avatar isaacsu avatar tjun avatar lukemauldin avatar demmer avatar neilsmind avatar omarqureshi avatar shassard avatar

Watchers

 avatar  avatar

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.