Giter Site home page Giter Site logo

edit-thing-el's Introduction

edit-thing.el

edit-thing.el is like narrow-to-region on steroids.

Rather than merely narrowing the current buffer, or using narrowing an indirect buffer, edit-thing will synchronize the contents of a region with an entirely independent buffer.

Although this strategy is decidedly more heavy-weight, it is compatible with even the most finicky major modes. edit-thing can also "dedent" the edit-buffer to improve indentation behavior when editing blocks of code.

Installation

(require 'edit-thing)`

Usage

Select a region and invoke (edit-thing-edit-region).

edit-thing-el's People

Contributors

deactivated avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

emacsmirror

edit-thing-el's Issues

fix indirect buffer naming

Buffer names generated by edit-thing-edit-region collide, which is fundamentally broken.

Desired behavior:

  • If major mode isn't specified, use the template * [parent-name] (n) *
  • If the major mode is specified, use the template * [parent-name] ([edit-mode] n) *
  • Add a customize variable for using a user-defined function

undo behaves poorly in the primary buffer

Desired behavior is to set an undo point just before indirect editing starts and to create a new undo point only when the primary buffer point changes between updates.

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.