Giter Club home page Giter Club logo

emacs-grammarly's Introduction

emacs-grammarly.el --- simple plugin to send text to/from Grammarly [OSX]

Grammarly has to be opened and a new document has to be opened.

Install Grammarly App (OSX version in this case) https://www.grammarly.com/native/mac

The plugin is using Apple Scripts, thus works only on macOS.

This is a proof of concept. Feel free to send pull requests or fork it.

Read more at https://www.reddit.com/r/emacs/comments/6x0ezx/emacs_grammarly_a_simple_plugin/

Install

Insert this code into your .emacs:

# load el file in your .emacs, e.g. 
(load-file "~/.emacs.d/plugins/emacs-grammarly/emacs-grammarly.el")

in the plugin code set path to pull and push script, for me this is:

(call-process-shell-command "osascript ~/.emacs.d/plugins/emacs-grammarly/pull.scpt")

and allow Emacs to use Accessibility (for Apple Scripts):

Keybinding

Default binding:

(global-set-key (kbd "C-c C-g h") 'grammarly-push)
(global-set-key (kbd "C-c C-g l") 'grammarly-pull)

emacs-grammarly's People

Contributors

larstvei avatar mmagnus avatar

Watchers

 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.